mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-14 01:32:07 +08:00
Dont wait for the queue to drain in async flush
This commit is contained in:
parent
efb1af9a73
commit
b1a58cd342
@ -44,7 +44,7 @@ inline spdlog::async_logger::async_logger(const std::string &logger_name, sink_p
|
|||||||
|
|
||||||
inline void spdlog::async_logger::flush()
|
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
|
// Error handler
|
||||||
|
Loading…
Reference in New Issue
Block a user