aboutsummaryrefslogtreecommitdiffstats
path: root/settings.h
diff options
context:
space:
mode:
authorAntony Woods <acron1@gmail.com>2014-05-20 23:30:51 +0100
committerAntony Woods <acron1@gmail.com>2014-05-20 23:30:51 +0100
commit1ae0387a255c7ec891179e3880579368b6cc588d (patch)
tree806b8b20e50b1ac3fa3204e3be30b5f87c8fd7cf /settings.h
parentdccb246cf8ba7b5480320088a817c29a4a7c8da3 (diff)
downloadcrow-1ae0387a255c7ec891179e3880579368b6cc588d.tar.gz
crow-1ae0387a255c7ec891179e3880579368b6cc588d.zip
Added log level support
Diffstat (limited to 'settings.h')
-rw-r--r--settings.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/settings.h b/settings.h
index 251df69..563fb1b 100644
--- a/settings.h
+++ b/settings.h
@@ -1,7 +1,18 @@
// settings for crow
+// TODO - replace with runtime config. libucl?
/* #ifdef - enables debug mode */
#define CROW_ENABLE_DEBUG
/* #ifdef - enables logging */
-#define CROW_ENABLE_LOGGING \ No newline at end of file
+#define CROW_ENABLE_LOGGING
+
+/* #define - specifies log level */
+/*
+ CRITICAL = 0
+ ERROR = 1
+ WARNING = 2
+ INFO = 3
+ DEBUG = 4
+*/
+#define CROW_LOG_LEVEL 4 \ No newline at end of file