Commit 4d7245bb authored by gabime's avatar gabime

update example

parent ef5c4f02
...@@ -114,6 +114,8 @@ void async_example() ...@@ -114,6 +114,8 @@ void async_example()
{ {
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