From dbb4a21931cd10a3caed3c446af0fe06de9873b1 Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 30 Jul 2024 20:42:12 +0200 Subject: feat: simplify logging --- src/core/function/CacheManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/function/CacheManager.cpp') diff --git a/src/core/function/CacheManager.cpp b/src/core/function/CacheManager.cpp index bbb52cc7..05138025 100644 --- a/src/core/function/CacheManager.cpp +++ b/src/core/function/CacheManager.cpp @@ -164,7 +164,7 @@ class CacheManager::Impl : public QObject { * */ void slot_flush_cache_storage() { - qCDebug(core, "write cache to file system..."); + FLOG_D("write cache to file system..."); for (const auto& cache : durable_cache_storage_.mirror()) { auto key = get_data_object_key(cache.first); @@ -215,7 +215,7 @@ class CacheManager::Impl : public QObject { * */ void load_all_cache_storage() { - qCDebug(core, "start to load all cache from file system"); + FLOG_D("start to load all cache from file system"); auto stored_data = GpgFrontend::DataObjectOperator::GetInstance().GetDataObject(drk_key_); -- cgit v1.2.3