Add timestamps to logs

This commit is contained in:
Siarhei Fedartsou 2022-09-23 17:11:59 +02:00
parent 370d98d56b
commit acf375f6d8

View File

@ -77,7 +77,7 @@ void Log::Init()
auto format = [is_terminal](const char *level, const char *color) {
return fmt::format(
"{}[{}] {} ", is_terminal ? color : "", level, std::chrono::system_clock::now());
"{}[{}] [{}] ", is_terminal ? color : "", std::chrono::system_clock::now(), level);
};
switch (level)