aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-15 10:15:24 +0200
committerStefan Boberg <[email protected]>2021-09-15 10:15:24 +0200
commit6a5d207920f030e54710af12463f4a701c09b118 (patch)
treef4a652fbd8e5670044e75794e85bfb8c85b09aa0 /zenserver/cache
parentChanged so more loggers go via the zen::loggers interface (diff)
downloadzen-6a5d207920f030e54710af12463f4a701c09b118.tar.xz
zen-6a5d207920f030e54710af12463f4a701c09b118.zip
Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it easier to tweak implementation
Diffstat (limited to 'zenserver/cache')
-rw-r--r--zenserver/cache/cachestore.cpp2
-rw-r--r--zenserver/cache/structuredcache.cpp2
-rw-r--r--zenserver/cache/structuredcachestore.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/zenserver/cache/cachestore.cpp b/zenserver/cache/cachestore.cpp
index 9180835d9..44aa4c892 100644
--- a/zenserver/cache/cachestore.cpp
+++ b/zenserver/cache/cachestore.cpp
@@ -4,6 +4,7 @@
#include <zencore/crc32.h>
#include <zencore/except.h>
+#include <zencore/logging.h>
#include <zencore/windows.h>
#include <zencore/filesystem.h>
@@ -16,7 +17,6 @@
#include <zenstore/caslog.h>
#include <fmt/core.h>
-#include <spdlog/spdlog.h>
#include <concepts>
#include <filesystem>
#include <gsl/gsl-lite.hpp>
diff --git a/zenserver/cache/structuredcache.cpp b/zenserver/cache/structuredcache.cpp
index 3fbdfb30e..196a4b66c 100644
--- a/zenserver/cache/structuredcache.cpp
+++ b/zenserver/cache/structuredcache.cpp
@@ -37,7 +37,7 @@ HttpStructuredCacheService::HttpStructuredCacheService(::ZenCacheStore& InC
, m_CidStore(InCidStore)
, m_UpstreamCache(std::move(UpstreamCache))
{
- //m_Log.set_level(spdlog::level::debug);
+ // m_Log.set_level(spdlog::level::debug);
}
HttpStructuredCacheService::~HttpStructuredCacheService()
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp
index a07fccf98..8c4bb65bb 100644
--- a/zenserver/cache/structuredcachestore.cpp
+++ b/zenserver/cache/structuredcachestore.cpp
@@ -9,6 +9,7 @@
#include <zencore/filesystem.h>
#include <zencore/fmtutils.h>
#include <zencore/iobuffer.h>
+#include <zencore/logging.h>
#include <zencore/string.h>
#include <zencore/thread.h>
#include <zenstore/basicfile.h>
@@ -16,7 +17,6 @@
#include <zenstore/caslog.h>
#include <fmt/core.h>
-#include <spdlog/spdlog.h>
#include <concepts>
#include <filesystem>
#include <gsl/gsl-lite.hpp>