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/module/ModuleInit.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/module/ModuleInit.cpp') diff --git a/src/core/module/ModuleInit.cpp b/src/core/module/ModuleInit.cpp index 4fedc6c7..3c71a45b 100644 --- a/src/core/module/ModuleInit.cpp +++ b/src/core/module/ModuleInit.cpp @@ -69,8 +69,8 @@ auto LoadIntegratedMods() -> bool { #endif if (!QDir(mods_path).exists()) { - qCWarning(core) << "integrated module directory at path: " << mods_path - << " not found, abort..."; + LOG_W() << "integrated module directory at path: " << mods_path + << " not found, abort..."; return false; } @@ -84,8 +84,8 @@ auto LoadExternalMods() -> bool { GpgFrontend::GlobalSettingStation::GetInstance().GetModulesDir(); if (!QDir(mods_path).exists()) { - qCWarning(core) << "external module directory at path " << mods_path - << " not found, abort..."; + LOG_W() << "external module directory at path " << mods_path + << " not found, abort..."; return false; } -- cgit v1.2.3