Commit 956e9143 authored by Gabi Melman's avatar Gabi Melman

Update README.md

parent 47e695d2
...@@ -88,8 +88,8 @@ int main(int, char* []) ...@@ -88,8 +88,8 @@ int main(int, char* [])
// //
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::debug); // Set specific logger's log level
console->info("Now it should.."); console->debug("Now it should..");
// //
// Create a file rotating logger with 5mb size max and 3 rotated files // Create a file rotating logger with 5mb size max and 3 rotated files
......
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