mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Fix Win32 event log sink
This commit is contained in:
parent
c9e094d9fc
commit
d38d53d9dd
@ -219,7 +219,7 @@ protected:
|
|||||||
using namespace internal;
|
using namespace internal;
|
||||||
|
|
||||||
memory_buf_t formatted;
|
memory_buf_t formatted;
|
||||||
formatter_->format(msg, formatted);
|
base_sink<Mutex>::formatter_->format(msg, formatted);
|
||||||
formatted.push_back('\0');
|
formatted.push_back('\0');
|
||||||
LPCSTR lp_str = static_cast<LPCSTR>(formatted.data());
|
LPCSTR lp_str = static_cast<LPCSTR>(formatted.data());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user