summaryrefslogtreecommitdiff
path: root/logging.h
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-30 21:23:44 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-30 21:23:44 +0100
commit6d183c02a50a42743c3031532f458ab5cea0685d (patch)
treed1463e8f53df26ec5f8c3c13a77880d11d3bc57f /logging.h
parentef93f4d61f03faa0edd60f11c7790ad3b67b44d4 (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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/logging.h b/logging.h
index e998773..32a00cd 100644
--- a/logging.h
+++ b/logging.h
@@ -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