8 input: name of file to log too
9 input: onoff, 0 means no logging
10 global: creates a global variable FILE* lg_file
13 int i_init_log( const char *name, int onoff );
14 void i_fatal ( int exitcode,const char *fmt, ... );
15 void i_lhead ( const char *file, int line );
16 void i_loog(int level,const char *msg, ... );
19 =item mm_log((level, format, ...))
22 This is the main entry point to logging. Note that the extra set of
23 parentheses are required due to limitations in C89 macros.
25 This will format a string with the current file and line number to the
26 log file if logging is enabled.
32 #define mm_log(x) { i_lhead(__FILE__,__LINE__); i_loog x; }