aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/diag/logging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenserver/diag/logging.cpp')
-rw-r--r--src/zenserver/diag/logging.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/zenserver/diag/logging.cpp b/src/zenserver/diag/logging.cpp
index 29c8eec4c..07e34305c 100644
--- a/src/zenserver/diag/logging.cpp
+++ b/src/zenserver/diag/logging.cpp
@@ -27,7 +27,7 @@ ZEN_THIRD_PARTY_INCLUDES_END
// Custom logging -- test code, this should be tweaked
-namespace logging {
+namespace zen::logging {
using namespace spdlog;
using namespace spdlog::details;
@@ -317,7 +317,9 @@ private:
std::string m_LogId;
};
-} // namespace logging
+} // namespace zen::logging
+
+namespace zen {
void
InitializeLogging(const ZenServerOptions& GlobalOptions)
@@ -500,3 +502,5 @@ ShutdownLogging()
DefaultLogger.info("log ending at {}", zen::DateTime::Now().ToIso8601());
zen::logging::ShutdownLogging();
}
+
+} // namespace zen