aboutsummaryrefslogtreecommitdiff
path: root/src/example/log.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 15:49:59 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 15:49:59 +0100
commita47b981c2254e1d49f58ebd4244c1be4624ba998 (patch)
treed5ca1f37f0e2d93f241721b13abacc5123bfe92a /src/example/log.cpp
parent5f75bdbf3d38c94baeae52f4c4889f147ec6885e (diff)
remove util and api namespaces
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
}();