aboutsummaryrefslogtreecommitdiffstats
path: root/include/settings.h
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-08-08 03:53:36 +0900
committeripknHama <ipknhama@gmail.com>2014-08-08 03:53:36 +0900
commit3018ff063acb747065adea877e3e2ac9423f5233 (patch)
tree110f1a6596242b7837c16f88b4838d6fd93dc93c /include/settings.h
parenta0c93f5b84cc11b30bc6320ac26127832ef8bf7a (diff)
parent001c66b378d200bdecc8a4a692c5a73a7d426b8f (diff)
downloadcrow-3018ff063acb747065adea877e3e2ac9423f5233.tar.gz
crow-3018ff063acb747065adea877e3e2ac9423f5233.zip
Merge branch 'directory-restructuring'
Directory structure changed. Crow becomes a complete header-only library with http_parser_merged.h. Provides amalgamated crow_all.h (all feature in one header file).
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