Merge branch '2082_cancel_dlg_input_line'
[kaloumi3.git] / lib / logging.h
blobcad3c01d09a3fe866a173e482fcc594961057d77
2 /** \file logging.h
3 * \brief Header: provides a log file to ease tracing the program
4 */
6 #ifndef MC_LOGGING_H
7 #define MC_LOGGING_H
9 /*
10 This file provides an easy-to-use function for writing all kinds of
11 events into a central log file that can be used for debugging.
14 #define mc_log_mark() mc_log("%s:%d\n",__FILE__,__LINE__)
16 extern void mc_log(const char *, ...)
17 __attribute__((__format__(__printf__,1,2)));
19 #endif