aboutsummaryrefslogtreecommitdiff
path: root/src/example/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/example/log.cpp')
-rw-r--r--src/example/log.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/example/log.cpp b/src/example/log.cpp
index 75f133c..db8aa48 100644
--- a/src/example/log.cpp
+++ b/src/example/log.cpp
@@ -7,13 +7,12 @@
#include <crepe/util/log.h>
using namespace crepe;
-using namespace crepe::util;
// unrelated setup code
int _ = []() {
// make sure all log messages get printed
- auto & cfg = api::Config::get_instance();
- cfg.log.level = util::LogLevel::TRACE;
+ auto & cfg = Config::get_instance();
+ cfg.log.level = LogLevel::TRACE;
return 0; // satisfy compiler
}();