|
|
@ -33,6 +33,11 @@ public:
|
|
|
|
_file_helper.flush();
|
|
|
|
_file_helper.flush();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void clear() override
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
_file_helper.reopen(true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|
void _sink_it(const details::log_msg& msg) override
|
|
|
|
void _sink_it(const details::log_msg& msg) override
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -71,6 +76,11 @@ public:
|
|
|
|
_file_helper.flush();
|
|
|
|
_file_helper.flush();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void clear() override
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
_file_helper.reopen(true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|
void _sink_it(const details::log_msg& msg) override
|
|
|
|
void _sink_it(const details::log_msg& msg) override
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -163,6 +173,11 @@ public:
|
|
|
|
_file_helper.flush();
|
|
|
|
_file_helper.flush();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void clear() override
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
_file_helper.reopen(true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|
void _sink_it(const details::log_msg& msg) override
|
|
|
|
void _sink_it(const details::log_msg& msg) override
|
|
|
|
{
|
|
|
|
{
|
|
|
|