Commit 1e4f14c7 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update README.md

......@@ -94,9 +94,7 @@ int main(int, char*[])
// Conditional logging example
auto i = 2;
console->info_if(i < 20, "Welcome to spdlog conditional logging!");
console->warn_if(i != 0, "an important message");
console->critical_if(i != 2, "a false warning which won't show up");
// Formatting examples
console->warn("Easy padding in numbers like {:08d}", 12);
......
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