Crow/include/settings.h

22 lines
357 B
C
Raw Normal View History

#pragma once
2014-05-20 16:17:56 +00:00
// settings for crow
2014-05-20 22:30:51 +00:00
// TODO - replace with runtime config. libucl?
2014-05-20 16:17:56 +00:00
/* #ifdef - enables debug mode */
#define CROW_ENABLE_DEBUG
/* #ifdef - enables logging */
2014-05-20 22:30:51 +00:00
#define CROW_ENABLE_LOGGING
/* #define - specifies log level */
/*
2014-08-07 16:14:27 +00:00
DEBUG = 0
INFO = 1
2014-05-20 22:30:51 +00:00
WARNING = 2
2014-08-07 16:14:27 +00:00
ERROR = 3
CRITICAL = 4
2014-09-12 03:16:37 +00:00
default to INFO
2014-05-20 22:30:51 +00:00
*/
2014-09-12 03:16:37 +00:00
#define CROW_LOG_LEVEL 1