added drop_all() to example

This commit is contained in:
gabime 2015-04-07 21:16:11 +03:00
parent 5067d1c12c
commit 7105fdadf9
1 changed files with 1 additions and 1 deletions

View File

@ -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..
//