Commit 4839ec7a authored by Gabi Melman's avatar Gabi Melman

Update README.md

parent 9d7c1052
...@@ -82,10 +82,10 @@ int main(int, char* []) ...@@ -82,10 +82,10 @@ int main(int, char* [])
console->info("{:<30}", "left aligned"); console->info("{:<30}", "left aligned");
console->info("{:>30}", "right aligned"); console->info("{:>30}", "right aligned");
console->info("{:^30}", "centered"); console->info("{:^30}", "centered");
//
// Runtime log levels
// //
// Runtime log levels
//
spd::set_level(spd::level::info); //Set global log level to info spd::set_level(spd::level::info); //Set global log level to info
console->debug("This message shold not be displayed!"); console->debug("This message shold not be displayed!");
console->set_level(spd::level::info); // Set specific logger's log level console->set_level(spd::level::info); // Set specific logger's log level
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment