mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Dont wait for the queue to drain in async flush
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user