diff options
Diffstat (limited to 'logging.h')
-rw-r--r-- | logging.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -37,6 +37,7 @@ #define LOG_JOINPART 1 #define LOG_TOPIC 2 #define LOG_NETWORK 3 +#define LOG_QUIT 4 #define DEBUG_CRIT 0 #define DEBUG_SOME 1 #define DEBUG_FULL 2 @@ -64,6 +65,14 @@ // If LOG_NETWORK then it just logs the string verbatim in // a file named 'ircdstate->ircdname'.log. // +// If LOG_QUIT then it expects a string in the format: +// channelname :nick!bar@baz QUIT :bla bla bla +// 'channelname' probably has to be prepended manually by the +// caller since it doesn't feature in the raw message from +// the IRCd. We need it in logline() to log to the relevant +// channel log file. The caller probably has to call logline() +// multiple times for each channel the nick was in. +// // With the ":foo!bar@baz "prefix being important for all // types. // |