use cppformat in sinks

This commit is contained in:
gabi
2014-11-29 17:10:17 +02:00
parent 8974d2ded9
commit 2c0acf66f9
2 changed files with 9 additions and 13 deletions

View File

@@ -47,8 +47,7 @@ public:
protected:
virtual void _sink_it(const details::log_msg& msg) override
{
auto& buf = msg.formatted.buf();
_ostream.write(buf.data(), buf.size());
_ostream.write(msg.formatted.data(), msg.formatted.size());
}
std::ostream& _ostream;
};