Added _flush() to base_sink

This commit is contained in:
gabime
2017-05-21 03:43:41 +03:00
parent e215758b42
commit 095cb1f560
8 changed files with 46 additions and 32 deletions

View File

@@ -30,15 +30,16 @@ public:
{
}
void flush() override
{
}
protected:
void _sink_it(const details::log_msg& msg) override
{
OutputDebugStringA(msg.formatted.c_str());
}
void _flush() override
{}
};
typedef msvc_sink<std::mutex> msvc_sink_mt;