Changeset 3509 in MondoRescue for branches/3.2/mondo/src/include/mr_msg.h
- Timestamp:
- Feb 13, 2016, 2:57:55 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/include/mr_msg.h
r2208 r3509 16 16 /* functions (public methods) */ 17 17 18 #define mr_msg( x,y,args...) {mr_msg_int(x,__LINE__,__FILE__,y,## args);}19 extern void mr_msg_init(const char * configfile, int loglevel);18 #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); 20 20 extern void mr_msg_close(void); 21 21 extern void mr_msg_loglevel(int loglevel); … … 23 23 /* Internal function bringing debuging info 24 24 * called indirectly through macros */ 25 extern inline void mr_msg_int(int debug, int line, const char *file, const char *fmt, ...);25 extern inline void mr_msg_int(int debug, int line, const char *file, const char *function, const char *fmt, ...); 26 26 27 27 #endif /* MR_MSG_H */
Note:
See TracChangeset
for help on using the changeset viewer.