Unverified Commit 8266dde5 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update README.md

parent 2277fdc8
...@@ -160,9 +160,8 @@ void async_example() ...@@ -160,9 +160,8 @@ void async_example()
} }
} }
// create logger with 2 targets with different log levels and formats // create logger with 2 targets with different log levels and formats.
// the console will show only warnings or errors, while the file will log all // the console will show only warnings or errors, while the file will log all.
void multi_sink_example() void multi_sink_example()
{ {
auto console_sink = std::make_shared<spdlog::sinks::stdout_color_sink_mt>(); auto console_sink = std::make_shared<spdlog::sinks::stdout_color_sink_mt>();
......
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