mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +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.
|
||||
DWORD console_mode;
|
||||
in_console_ = ::GetConsoleMode(out_handle, &console_mode) != 0;
|
||||
|
||||
set_color_mode(mode);
|
||||
colors_[level::trace] = WHITE;
|
||||
colors_[level::debug] = CYAN;
|
||||
|
Loading…
Reference in New Issue
Block a user