This commit is contained in:
Gabi Melman 2018-07-17 20:09:05 +03:00 committed by GitHub
parent 07928109af
commit b238bf9512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,11 @@ public:
explicit msvc_sink() {}
protected:
void sink_it_(const details::log_msg &, const fmt::memory_buffer &formatted) override
void sink_it_(const details::log_msg &msg) override
{
fmt::memory_buffer formatted;
sink::formatter_->format(msg, formatted);
OutputDebugStringA(fmt::to_string(formatted).c_str());
}