Commit f2bc1571 authored by gabime's avatar gabime

update example

parent 4d7245bb
...@@ -113,9 +113,7 @@ void async_example() ...@@ -113,9 +113,7 @@ void async_example()
for (int i = 0; i < 100; ++i) for (int i = 0; i < 100; ++i)
{ {
async_file->info("Async message #{}", i + 1); async_file->info("Async message #{}", i + 1);
} }
// you can wait for all the messages to processed:
// spdlog::thread_pool()->wait_empty();
} }
// syslog example (linux/osx/freebsd) // syslog example (linux/osx/freebsd)
......
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