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))
|
if (should_flush_(msg))
|
||||||
{
|
{
|
||||||
flush();
|
flush_();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user