9#include "../details/null_mutex.h"
22
23
28 const WORD
BOLD = FOREGROUND_INTENSITY;
29 const WORD
RED = FOREGROUND_RED;
30 const WORD
CYAN = FOREGROUND_GREEN | FOREGROUND_BLUE;
31 const WORD
WHITE = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE;
32 const WORD
YELLOW = FOREGROUND_RED | FOREGROUND_GREEN;
33 const WORD
GREEN = FOREGROUND_GREEN;
86 back_color &= ~(FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY);
wincolor_sink(const wincolor_sink &other)=delete
void set_color(level::level_enum level, WORD color)
virtual void _sink_it(const details::log_msg &msg) override
wincolor_sink & operator=(const wincolor_sink &other)=delete
WORD set_console_attribs(WORD attribs)
virtual void _flush() override
wincolor_sink(HANDLE std_handle)
std::map< level::level_enum, WORD > colors_
wincolor_stderr_sink< std::mutex > wincolor_stderr_sink_mt
wincolor_stdout_sink< details::null_mutex > wincolor_stdout_sink_st
wincolor_stderr_sink< details::null_mutex > wincolor_stderr_sink_st
wincolor_stdout_sink< std::mutex > wincolor_stdout_sink_mt