pull/773/head
Gabi Melman 7 years ago committed by GitHub
parent 07928109af
commit b238bf9512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,8 +27,11 @@ public:
explicit msvc_sink() {} explicit msvc_sink() {}
protected: 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()); OutputDebugStringA(fmt::to_string(formatted).c_str());
} }

Loading…
Cancel
Save