Ignore:
Timestamp:
Dec 21, 2016, 3:18:07 PM (4 years ago)
Author:
Bruno Cornec
Message:

Change mr_msg_init interface definition to include argc and argv, which allows to detect the presence of the -K option and setup the log level accordingly as early as possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/include/mr_msg.h

    r3509 r3628  
    1717
    1818#define mr_msg(lvl,fmt,args...) {mr_msg_int(lvl,__LINE__,__FILE__,__FUNCTION__,fmt,## args);}
    19 extern void mr_msg_init(const char *logfile, int loglevel);
     19extern void mr_msg_init(const char *logfile, int loglevel, int argc, char *argv[]);
    2020extern void mr_msg_close(void);
    2121extern void mr_msg_loglevel(int loglevel);
Note: See TracChangeset for help on using the changeset viewer.