mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 18:41:35 +08:00
comment
This commit is contained in:
parent
05cac05c06
commit
59dd9f6203
@ -23,6 +23,7 @@ SPDLOG_INLINE wincolor_sink<ConsoleMutex>::wincolor_sink(HANDLE out_handle, colo
|
|||||||
// ::GetConsoleMode() should return 0 if it is redirected or not valid console handle.
|
// ::GetConsoleMode() should return 0 if it is redirected or not valid console handle.
|
||||||
DWORD console_mode;
|
DWORD console_mode;
|
||||||
in_console_ = ::GetConsoleMode(out_handle, &console_mode) != 0;
|
in_console_ = ::GetConsoleMode(out_handle, &console_mode) != 0;
|
||||||
|
|
||||||
set_color_mode(mode);
|
set_color_mode(mode);
|
||||||
colors_[level::trace] = WHITE;
|
colors_[level::trace] = WHITE;
|
||||||
colors_[level::debug] = CYAN;
|
colors_[level::debug] = CYAN;
|
||||||
|
Loading…
Reference in New Issue
Block a user