mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
call flush_() instead of flush() from looger::sink_it_()
This commit is contained in:
parent
2998815166
commit
1293af093c
@ -390,7 +390,7 @@ inline void spdlog::logger::sink_it_(details::log_msg &msg)
|
||||
|
||||
if (should_flush_(msg))
|
||||
{
|
||||
flush();
|
||||
flush_();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user