diff options
| author | Stefan Boberg <[email protected]> | 2023-10-06 10:45:48 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-06 10:45:48 +0200 |
| commit | fb70324d37282910d7fa3047f4ec290d0c5a94b1 (patch) | |
| tree | a1bc82fcfdb96eb5b461742b613fcbb63f816a54 /src/zenserver/diag/logging.cpp | |
| parent | reject known bad bucket names in structured cache (#452) (diff) | |
| download | zen-fb70324d37282910d7fa3047f4ec290d0c5a94b1.tar.xz zen-fb70324d37282910d7fa3047f4ec290d0c5a94b1.zip | |
zenserver project restructuring (#442)
Diffstat (limited to 'src/zenserver/diag/logging.cpp')
| -rw-r--r-- | src/zenserver/diag/logging.cpp | 8 |
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 |