aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/basic/SingletonStorageCollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/function/basic/SingletonStorageCollection.cpp')
-rw-r--r--src/core/function/basic/SingletonStorageCollection.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/core/function/basic/SingletonStorageCollection.cpp b/src/core/function/basic/SingletonStorageCollection.cpp
index 734bf97c..7e5430fb 100644
--- a/src/core/function/basic/SingletonStorageCollection.cpp
+++ b/src/core/function/basic/SingletonStorageCollection.cpp
@@ -49,9 +49,8 @@ class SingletonStorageCollection::Impl {
static auto GetInstance(bool force_refresh) -> SingletonStorageCollection* {
if (force_refresh || global_instance == nullptr) {
global_instance = SecureCreateUniqueObject<SingletonStorageCollection>();
- qCDebug(core,
- "a new global singleton storage collection created, address: %p",
- static_cast<void*>(global_instance.get()));
+ FLOG_D("a new global singleton storage collection created, address: %p",
+ static_cast<void*>(global_instance.get()));
}
return global_instance.get();
}
@@ -106,10 +105,8 @@ auto GpgFrontend::SingletonStorageCollection::GetInstance(bool force_refresh)
}
void SingletonStorageCollection::Destroy() {
- qCDebug(
- core,
- "global singleton storage collection is about to destroy, address: %p",
- static_cast<void*>(global_instance.get()));
+ FLOG_D("global singleton storage collection is about to destroy, address: %p",
+ static_cast<void*>(global_instance.get()));
return SingletonStorageCollection::Impl::Destroy();
}