diff options
author | Antony Woods <acron1@gmail.com> | 2014-05-20 23:30:51 +0100 |
---|---|---|
committer | Antony Woods <acron1@gmail.com> | 2014-05-20 23:30:51 +0100 |
commit | 1ae0387a255c7ec891179e3880579368b6cc588d (patch) | |
tree | 806b8b20e50b1ac3fa3204e3be30b5f87c8fd7cf /settings.h | |
parent | dccb246cf8ba7b5480320088a817c29a4a7c8da3 (diff) | |
download | crow-1ae0387a255c7ec891179e3880579368b6cc588d.tar.gz crow-1ae0387a255c7ec891179e3880579368b6cc588d.zip |
Added log level support
Diffstat (limited to 'settings.h')
-rw-r--r-- | settings.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |