diff options
Diffstat (limited to 'src/zenserver/diag/logging.cpp')
| -rw-r--r-- | src/zenserver/diag/logging.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/zenserver/diag/logging.cpp b/src/zenserver/diag/logging.cpp index 0d96cd8d6..f3d3377b0 100644 --- a/src/zenserver/diag/logging.cpp +++ b/src/zenserver/diag/logging.cpp @@ -21,7 +21,7 @@ namespace zen { void InitializeServerLogging(const ZenServerOptions& InOptions) { - UE_MEMSCOPE(ELLMTag::Logging); + ZEN_MEMSCOPE(ELLMTag::Logging); const LoggingOptions LogOptions = {.IsDebug = InOptions.IsDebug, .IsVerbose = false, @@ -76,13 +76,16 @@ InitializeServerLogging(const ZenServerOptions& InOptions) const zen::Oid ServerSessionId = zen::GetSessionId(); - spdlog::apply_all([&](auto Logger) { Logger->info("server session id: {}", ServerSessionId); }); + spdlog::apply_all([&](auto Logger) { + ZEN_MEMSCOPE(ELLMTag::Logging); + Logger->info("server session id: {}", ServerSessionId); + }); } void ShutdownServerLogging() { - UE_MEMSCOPE(ELLMTag::Logging); + ZEN_MEMSCOPE(ELLMTag::Logging); zen::ShutdownLogging(); } |