diff options
author | saturneric <[email protected]> | 2024-07-30 18:42:12 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-30 18:42:12 +0000 |
commit | dbb4a21931cd10a3caed3c446af0fe06de9873b1 (patch) | |
tree | b3eb2e6fc3e67ea274472dfacfa3451848b43c80 /src/core/function/GlobalSettingStation.cpp | |
parent | fix: solve known issues on build (diff) | |
download | GpgFrontend-dbb4a21931cd10a3caed3c446af0fe06de9873b1.tar.gz GpgFrontend-dbb4a21931cd10a3caed3c446af0fe06de9873b1.zip |
feat: simplify logging
Diffstat (limited to 'src/core/function/GlobalSettingStation.cpp')
-rw-r--r-- | src/core/function/GlobalSettingStation.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/function/GlobalSettingStation.cpp b/src/core/function/GlobalSettingStation.cpp index 68fc79d7..42aced01 100644 --- a/src/core/function/GlobalSettingStation.cpp +++ b/src/core/function/GlobalSettingStation.cpp @@ -40,8 +40,8 @@ class GlobalSettingStation::Impl { * */ explicit Impl() noexcept { - qCInfo(core) << "app path: " << GetAppDir(); - qCInfo(core) << "app working path: " << working_path_; + LOG_I() << "app path: " << GetAppDir(); + LOG_I() << "app working path: " << working_path_; auto portable_file_path = working_path_ + "/PORTABLE.txt"; if (QFileInfo(portable_file_path).exists()) { @@ -54,11 +54,11 @@ class GlobalSettingStation::Impl { portable_mode_ = true; } - qCInfo(core) << "app data path: " << app_data_path_; - qCInfo(core) << "app log path: " << app_log_path_; + LOG_I() << "app data path: " << app_data_path_; + LOG_I() << "app log path: " << app_log_path_; #if defined(_WIN32) || defined(WIN32) - qCInfo(core) << "app config path: " << app_config_path_; + LOG_I() << "app config path: " << app_config_path_; if (!QDir(app_config_path_).exists()) QDir(app_config_path_).mkpath("."); #endif |