mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +08:00
adds missing flush override to simple_file_sink
This commit is contained in:
parent
8208b49298
commit
fbd9d924d6
@ -47,6 +47,10 @@ public:
|
|||||||
{
|
{
|
||||||
_file_helper.open(filename);
|
_file_helper.open(filename);
|
||||||
}
|
}
|
||||||
|
void flush() override
|
||||||
|
{
|
||||||
|
_file_helper.flush();
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _sink_it(const details::log_msg& msg) override
|
void _sink_it(const details::log_msg& msg) override
|
||||||
|
Loading…
Reference in New Issue
Block a user