diff options
Diffstat (limited to 'zen/cmds/hash.cpp')
| -rw-r--r-- | zen/cmds/hash.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/zen/cmds/hash.cpp b/zen/cmds/hash.cpp index 45506ebee..b6276dbc1 100644 --- a/zen/cmds/hash.cpp +++ b/zen/cmds/hash.cpp @@ -3,11 +3,11 @@ #include "hash.h" #include <zencore/blake3.h> +#include <zencore/logging.h> #include <zencore/string.h> #include <zencore/timer.h> #include <ppl.h> -#include <spdlog/spdlog.h> HashCommand::HashCommand() { @@ -33,7 +33,7 @@ HashCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) // Gather list of files to process - spdlog::info("Gathering files from {}", m_ScanDirectory); + ZEN_INFO("Gathering files from {}", m_ScanDirectory); struct FileEntry { @@ -55,7 +55,7 @@ HashCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) } } - spdlog::info("Gathered {} files, total size {}", FileList.size(), zen::NiceBytes(FileBytes)); + ZEN_INFO("Gathered {} files, total size {}", FileList.size(), zen::NiceBytes(FileBytes)); Concurrency::combinable<uint64_t> TotalBytes; @@ -88,8 +88,8 @@ HashCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) TotalBytes.combine_each([&](size_t Total) { TotalByteCount += Total; }); const uint64_t ElapsedMs = Timer.getElapsedTimeMs(); - spdlog::info("Scanned {} files in {}", FileList.size(), zen::NiceTimeSpanMs(ElapsedMs)); - spdlog::info("Total bytes {} ({})", zen::NiceBytes(TotalByteCount), zen::NiceByteRate(TotalByteCount, ElapsedMs)); + ZEN_INFO("Scanned {} files in {}", FileList.size(), zen::NiceTimeSpanMs(ElapsedMs)); + ZEN_INFO("Total bytes {} ({})", zen::NiceBytes(TotalByteCount), zen::NiceByteRate(TotalByteCount, ElapsedMs)); InternalFile Output; |