From a7fae314b3e967a600c47927708a309700d31439 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 1 Jun 2021 17:17:00 +0200 Subject: [PATCH] Log some progress info to log file. --- src/search.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 91bf4ae..546a12b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -40,8 +40,9 @@ using std::string; std::vector search(const fs::path &filepath, const std::string_view regex, const settings &opts) { - DEBUGLOG << format(R"(Starting search in {0:s} using regex "{1:s}")", - filepath, regex); + LOG(log::sev::info) + << format(R"(Starting search in {0:s} using regex "{1:s}")", filepath, + regex); boost::regex::flag_type flags{}; switch (opts.regex)