Dont wait for the queue to drain in async flush

This commit is contained in:
Gabi Melman 2018-05-17 20:38:43 +03:00 committed by GitHub
parent efb1af9a73
commit b1a58cd342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ inline spdlog::async_logger::async_logger(const std::string &logger_name, sink_p
inline void spdlog::async_logger::flush()
{
_async_log_helper->flush(false);
_async_log_helper->flush(false);//dont wat for the q to draing before returning from flush
}
// Error handler