diff --git a/src/loglevels.cpp b/src/loglevels.cpp index c31fca9..94349b3 100644 --- a/src/loglevels.cpp +++ b/src/loglevels.cpp @@ -46,7 +46,7 @@ namespace g3 { FATAL.value + 1 }; //std::atomic g_log_level_status[4] {{true}, {true}, {true}, {true}}; - std::map g_log_level_status = {{DEBUG.value, true}, {INFO.value, true}, {WARNING.value, true}, {FATAL.value, true}}; + std::map g_log_level_status = {{g3::kDebugVaulue, true}, {INFO.value, true}, {WARNING.value, true}, {FATAL.value, true}}; #endif } // internal @@ -67,7 +67,7 @@ namespace g3 { void reset() { internal::g_log_level_status.clear(); - internal::g_log_level_status = {{DEBUG.value, true}, {INFO.value, true}, {WARNING.value, true}, {FATAL.value, true}}; + internal::g_log_level_status = {{g3::kDebugVaulue, true}, {INFO.value, true}, {WARNING.value, true}, {FATAL.value, true}}; } } // only_change_at_initialization #endif