diff options
author | saturneric <[email protected]> | 2024-01-05 12:55:15 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-05 12:55:15 +0000 |
commit | 644aa4397b03dbef73f8bfedc13925b51cad836b (patch) | |
tree | 7788d1cd2f0687dd8e576b111d9990c580092e7a /src/ui/function/ArchiveDirectory.cpp | |
parent | fix: slove some known issues (diff) | |
download | GpgFrontend-644aa4397b03dbef73f8bfedc13925b51cad836b.tar.gz GpgFrontend-644aa4397b03dbef73f8bfedc13925b51cad836b.zip |
feat: integrate logging api to core
Diffstat (limited to 'src/ui/function/ArchiveDirectory.cpp')
-rw-r--r-- | src/ui/function/ArchiveDirectory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/function/ArchiveDirectory.cpp b/src/ui/function/ArchiveDirectory.cpp index 9cbfc41e..89bb7ff2 100644 --- a/src/ui/function/ArchiveDirectory.cpp +++ b/src/ui/function/ArchiveDirectory.cpp @@ -71,13 +71,13 @@ auto ArchiveDirectory::Exec(const std::filesystem::path& target_directory) auto target_path = target_directory; target_path = target_path.replace_extension(""); - SPDLOG_DEBUG("archive directory, base path: {}, target path: {}", - base_path.string(), target_path.string()); + GF_UI_LOG_DEBUG("archive directory, base path: {}, target path: {}", + base_path.string(), target_path.string()); // ArchiveFileOperator::CreateArchive(base_path, target_path, 0, ); } catch (...) { - SPDLOG_ERROR("archive caught exception error"); + GF_UI_LOG_ERROR("archive caught exception error"); return {false, {}}; } } |