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.6 by root, Fri Apr 27 19:53:05 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 llevInfo = 1,
30 llevDebug = 2,
31 llevMonster = 3,
30 32
33 logBacktrace = 0x10, // log the backtrace too, possibly delayed
34};
35
36void log_backtrace (const char *msg);
31void LOG (LogLevel logLevel, const char *format, ...); 37void LOG (int flags, const char *format, ...);
32 38
33#endif /* LOGGER_H */ 39#endif /* LOGGER_H */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines