mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
fix support for utf8 logging under win32
This commit is contained in:
@@ -79,6 +79,11 @@ bool is_color_terminal() SPDLOG_NOEXCEPT;
|
||||
// Detrmine if the terminal attached
|
||||
// Source: https://github.com/agauniyal/rang/
|
||||
bool in_terminal(FILE *file) SPDLOG_NOEXCEPT;
|
||||
|
||||
#if defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT) && defined(_WIN32)
|
||||
void wbuf_to_utf8buf(const fmt::wmemory_buffer &wbuf, fmt::memory_buffer &target);
|
||||
#endif
|
||||
|
||||
} // namespace os
|
||||
} // namespace details
|
||||
} // namespace spdlog
|
||||
|
Reference in New Issue
Block a user