diff options
Diffstat (limited to 'src/example/log.cpp')
-rw-r--r-- | src/example/log.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/example/log.cpp b/src/example/log.cpp index 2d693d1..86ef193 100644 --- a/src/example/log.cpp +++ b/src/example/log.cpp @@ -12,13 +12,13 @@ using namespace crepe::util; int main() { auto & cfg = api::Config::get_instance(); // make sure all log messages get printed - cfg.log.level = util::log_level::TRACE; + cfg.log.level = util::LogLevel::TRACE; dbg_trace(); dbg_logf("cfg.log.color is equal to %d", cfg.log.color); - logf(log_level::INFO, "info message!"); - logf(log_level::WARNING, "very scary warning"); - logf(log_level::ERROR, "fatal error!!!"); + logf(LogLevel::INFO, "info message!"); + logf(LogLevel::WARNING, "very scary warning"); + logf(LogLevel::ERROR, "fatal error!!!"); return 0; } |