… | |
… | |
29 | llevInfo = 2, |
29 | llevInfo = 2, |
30 | llevDebug = 3, |
30 | llevDebug = 3, |
31 | llevMonster = 4, |
31 | llevMonster = 4, |
32 | |
32 | |
33 | logBacktrace = 0x10, // log the backtrace too, possibly delayed |
33 | logBacktrace = 0x10, // log the backtrace too, possibly delayed |
|
|
34 | logSync = 0x20, // log synchronously |
34 | }; |
35 | }; |
35 | |
36 | |
|
|
37 | void set_logfd (int fd); |
36 | void log_backtrace (const char *msg); |
38 | void log_backtrace (const char *msg); |
|
|
39 | void log_cleanup (); |
37 | void LOG (int flags, const char *format, ...); |
40 | void LOG (int flags, const char *format, ...); |
38 | |
41 | |
39 | #endif /* LOGGER_H */ |
42 | #endif /* LOGGER_H */ |