|
libircbot
library providing a framework for implementing an IRC bot
|
declarations for the IBLog static class More...
Go to the source code of this file.
Macros | |
| #define | MAXLOGLINE 16384 |
| maximum length for a log line | |
Typedefs | |
| typedef void(* | IBLogWriter) (IBLogLevel level, const char *message, void *data) |
| A log writer. More... | |
Enumerations | |
| enum | IBLogLevel { L_FATAL , L_ERROR , L_WARNING , L_INFO , L_DEBUG } |
| Logging level log.h <ircbot/log.h> More... | |
declarations for the IBLog static class
| typedef void(* IBLogWriter) (IBLogLevel level, const char *message, void *data) |
A log writer.
This function is responsible to write a processed log message to its ultimate target, like e.g. a logfile.
| level | the log level of the message. |
| message | the message to write |
| data | optional additional context for the log writer |
| enum IBLogLevel |
Logging level log.h <ircbot/log.h>