diff options
-rw-r--r-- | include/settings.h | 1 | ||||
-rw-r--r-- | tests/unittest.cpp | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/settings.h b/include/settings.h index 83729e3..e40f9e4 100644 --- a/include/settings.h +++ b/include/settings.h @@ -1,3 +1,4 @@ +#pragma once // settings for crow // TODO - replace with runtime config. libucl? diff --git a/tests/unittest.cpp b/tests/unittest.cpp index b552ddc..818032f 100644 --- a/tests/unittest.cpp +++ b/tests/unittest.cpp @@ -2,6 +2,9 @@ #define CROW_ENABLE_DEBUG #include <iostream> #include <vector> +#include "settings.h" +#undef CROW_LOG_LEVEL +#define CROW_LOG_LEVEL 0 #include "routing.h" #include "utility.h" #include "crow.h" |