aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-07-26 14:53:33 -0400
committerDeterminant <[email protected]>2018-07-26 14:53:33 -0400
commit473551d760bb52d3c8d12b2096c10210e9387389 (patch)
treec71212a7fc48a19a612c167816eea303e53a024a /include
parentb4ea37cc72c4138727d0c44d47010c11a2a929ad (diff)
add auto generated config.h
Diffstat (limited to 'include')
-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