aboutsummaryrefslogtreecommitdiff
path: root/include/salticidae/util.h
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2018-07-26 14:53:33 -0400
committerDeterminant <tederminant@gmail.com>2018-07-26 14:53:33 -0400
commit473551d760bb52d3c8d12b2096c10210e9387389 (patch)
treec71212a7fc48a19a612c167816eea303e53a024a /include/salticidae/util.h
parentb4ea37cc72c4138727d0c44d47010c11a2a929ad (diff)
add auto generated config.h
Diffstat (limited to 'include/salticidae/util.h')
-rw-r--r--include/salticidae/util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/salticidae/util.h b/include/salticidae/util.h
index 505f014..e589693 100644
--- a/include/salticidae/util.h
+++ b/include/salticidae/util.h
@@ -34,6 +34,7 @@
#include <getopt.h>
#include <event2/event.h>
+#include "salticidae/config.h"
#include "salticidae/ref.h"
namespace salticidae {
@@ -83,12 +84,12 @@ class Logger {
extern Logger logger;
-#ifdef SALTICIDAE_DEBUG_LOG
+#ifdef SALTICIDAE_ENABLE_DEBUG_LOG
#define SALTICIDAE_NORMAL_LOG
#define SALTICIDAE_ENABLE_LOG_DEBUG
#endif
-#ifdef SALTICIDAE_NORMAL_LOG
+#ifdef SALTICIDAE_ENABLE_NORMAL_LOG
#define SALTICIDAE_ENABLE_LOG_INFO
#define SALTICIDAE_ENABLE_LOG_WARN
#endif