ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/logger.h
(Generate patch)

Comparing deliantra/server/include/logger.h (file contents):
Revision 1.5 by pippijn, Mon Jan 15 21:06:19 2007 UTC vs.
Revision 1.7 by root, Mon May 7 06:01:48 2007 UTC

22 */ 22 */
23 23
24#ifndef LOGGER_H 24#ifndef LOGGER_H
25#define LOGGER_H 25#define LOGGER_H
26 26
27typedef enum LogLevel { 27enum {
28 llevError = 0, llevInfo = 1, llevDebug = 2, llevMonster = 3 28 llevError = 0,
29} LogLevel; 29 llevWarn = 1,
30 llevInfo = 2,
31 llevDebug = 3,
32 llevMonster = 4,
30 33
34 logBacktrace = 0x10, // log the backtrace too, possibly delayed
35};
36
37void log_backtrace (const char *msg);
31void LOG (LogLevel logLevel, const char *format, ...); 38void LOG (int flags, const char *format, ...);
32 39
33#endif /* LOGGER_H */ 40#endif /* LOGGER_H */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines