mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
example.cpp fix
This commit is contained in:
@@ -59,7 +59,7 @@ int main(int, char *[])
|
||||
daily_logger->info(123.44);
|
||||
|
||||
// Customize msg format for all messages
|
||||
// spd::set_pattern("[%^+++%$] [%H:%M:%S %z] [thread %t] %v"); //crash
|
||||
spd::set_pattern("[%^+++%$] [%H:%M:%S %z] [thread %t] %v");
|
||||
|
||||
console->info("This an info message with custom format");
|
||||
console->error("This an error message with custom format");
|
||||
|
Reference in New Issue
Block a user