mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
code formatting
This commit is contained in:
@@ -60,8 +60,8 @@ int main(int, char *[])
|
||||
// Customize msg format for all messages
|
||||
spd::set_pattern("[%^+++%$] [%H:%M:%S %z] [thread %t] %v");
|
||||
console->info("This an info message with custom format (and custom color range between the '%^' and '%$')");
|
||||
console->error("This an error message with custom format (and custom color range between the '%^' and '%$')");
|
||||
|
||||
console->error("This an error message with custom format (and custom color range between the '%^' and '%$')");
|
||||
|
||||
// Runtime log levels
|
||||
spd::set_level(spd::level::info); // Set global log level to info
|
||||
console->debug("This message should not be displayed!");
|
||||
|
Reference in New Issue
Block a user