diff --git a/src/support/src/Logger.cpp b/src/support/src/Logger.cpp index be36815..91ff48d 100644 --- a/src/support/src/Logger.cpp +++ b/src/support/src/Logger.cpp @@ -19,7 +19,7 @@ void Logger::log(const std::string &tag, const std::string &what, int level) { std::shared_lock l(get()._mutex); auto now = std::chrono::high_resolution_clock::now(); std::stringstream out; - out << std::setprecision(4) << std::fixed << "[" + out << std::setprecision(3) << std::fixed << "[" << static_cast(std::chrono::duration_cast(now - get()._start_time).count()) / 1000.0 << "s]" << "[" << tag << "][" << get()._level_names.at(level) << "] " << what << '\n';