Unverified Commit b238bf95 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

fix issue #755

parent 07928109
...@@ -27,8 +27,11 @@ public: ...@@ -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());
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment