diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-05-30 21:23:44 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-05-30 21:23:44 +0100 |
commit | 6d183c02a50a42743c3031532f458ab5cea0685d (patch) | |
tree | d1463e8f53df26ec5f8c3c13a77880d11d3bc57f /logging.h | |
parent | ef93f4d61f03faa0edd60f11c7790ad3b67b44d4 (diff) |
Convert debugprint() from being to file/screen/disabled to always being to file with configurable verbosity.
Diffstat (limited to 'logging.h')
-rw-r--r-- | logging.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -19,6 +19,9 @@ #define LOG_PRIVMSG 0 #define LOG_JOINPART 1 #define LOG_TOPIC 2 +#define DEBUG_CRIT 0 +#define DEBUG_SOME 1 +#define DEBUG_FULL 2 // Write the line 'str' to the relevant log file such as // '#channel.log' or 'nickname.log'. 'ournick' is our own |