diff options
Diffstat (limited to 'zenserver/testing/launch.h')
| -rw-r--r-- | zenserver/testing/launch.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zenserver/testing/launch.h b/zenserver/testing/launch.h index a6eb137d2..49f12e2ec 100644 --- a/zenserver/testing/launch.h +++ b/zenserver/testing/launch.h @@ -2,9 +2,9 @@ #pragma once +#include <zencore/logging.h> #include <zenhttp/httpserver.h> -#include <spdlog/spdlog.h> #include <filesystem> namespace zen { @@ -24,7 +24,9 @@ public: virtual void HandleRequest(HttpServerRequest& Request) override; private: - spdlog::logger m_Log; + inline spdlog::logger& Log() { return m_Log; } + + spdlog::logger& m_Log; HttpRequestRouter m_Router; CasStore& m_CasStore; std::filesystem::path m_SandboxPath; |