aboutsummaryrefslogtreecommitdiff
path: root/src/common/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/logger.cpp')
-rw-r--r--src/common/logger.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/logger.cpp b/src/common/logger.cpp
index 6c1422f9..97599b0a 100644
--- a/src/common/logger.cpp
+++ b/src/common/logger.cpp
@@ -1,7 +1,5 @@
#include "cru/common/logger.hpp"
-#include "cru/common/format.hpp"
-
#include <array>
#include <cstdlib>
#include <ctime>
@@ -60,8 +58,8 @@ void Logger::Log(LogLevel level, const std::string_view &s) {
std::array<char, 50> buffer;
std::strftime(buffer.data(), 50, "%c", std::localtime(&now));
- source->Write(level, util::Format("[{}] {}: {}\n", buffer.data(),
- LogLevelToString(level), s));
+ source->Write(level, fmt::format("[{}] {}: {}\n", buffer.data(),
+ LogLevelToString(level), s));
}
}
} // namespace cru::log