From 2dbd865dd27bab9efbd6d6db0f7950c54dcf2a18 Mon Sep 17 00:00:00 2001 From: zhouhuang Date: Mon, 9 Dec 2024 09:44:14 +0800 Subject: [PATCH] update --- das-dn/third_party/AdsLib/Log.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/das-dn/third_party/AdsLib/Log.cpp b/das-dn/third_party/AdsLib/Log.cpp index c38682e6..df0a67d0 100644 --- a/das-dn/third_party/AdsLib/Log.cpp +++ b/das-dn/third_party/AdsLib/Log.cpp @@ -39,7 +39,8 @@ static const char* CATEGORY[] = { void Logger::Log(const size_t level, const std::string& msg) { - if (level >= logLevel) { + if (level >= logLevel) + { #if 0 std::time_t tt = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now()); const auto category = CATEGORY[std::min(level, sizeof(CATEGORY) / sizeof(CATEGORY[0]))];