mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +08:00
updated example
This commit is contained in:
parent
145fc367f9
commit
28ef15d669
@ -74,7 +74,7 @@ int main(int, char *[])
|
||||
// Runtime log levels
|
||||
spd::set_level(spd::level::info); // Set global log level to info
|
||||
console->debug("This message should not be displayed!");
|
||||
console->set_level(spd::level::debug); // Set specific logger's log level
|
||||
console->set_level(spd::level::trace); // Set specific logger's log level
|
||||
console->debug("This message should be displayed..");
|
||||
|
||||
// Compile time log levels
|
||||
|
Loading…
Reference in New Issue
Block a user