mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
update example
This commit is contained in:
parent
ef5c4f027c
commit
4d7245bb67
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user