aboutsummaryrefslogtreecommitdiffstats
path: root/include/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/settings.h')
-rw-r--r--include/settings.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/settings.h b/include/settings.h
new file mode 100644
index 0000000..fa51405
--- /dev/null
+++ b/include/settings.h
@@ -0,0 +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
+
+/* #define - specifies log level */
+/*
+ DEBUG = 0
+ INFO = 1
+ WARNING = 2
+ ERROR = 3
+ CRITICAL = 4
+*/
+#define CROW_LOG_LEVEL 0