mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +08:00
added drop_all() to example
This commit is contained in:
parent
5067d1c12c
commit
7105fdadf9
@ -93,7 +93,7 @@ int main(int, char*[])
|
||||
spdlog::set_async_mode(q_size);
|
||||
auto async_file = spd::daily_logger_st("async_file_logger", "logs/async_log.txt");
|
||||
async_file->info() << "This is async log.." << "Should be very fast!";
|
||||
|
||||
spdlog::drop_all(); //Close all loggers
|
||||
//
|
||||
// syslog example. linux only..
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user