Livox SDK API
V2.2.0
|
#include <wincolor_sink.h>
Public Member Functions | |
wincolor_sink () | |
~wincolor_sink () override | |
wincolor_sink (const wincolor_sink &other)=delete | |
wincolor_sink & | operator= (const wincolor_sink &other)=delete |
void | set_color (level::level_enum level, WORD color) |
void | log (const details::log_msg &msg) finaloverride |
void | flush () finaloverride |
void | set_pattern (const std::string &pattern) overridefinal |
void | set_formatter (std::unique_ptr< spdlog::formatter > sink_formatter) overridefinal |
Public Member Functions inherited from spdlog::sinks::sink | |
sink ()=default | |
sink (std::unique_ptr< spdlog::formatter > formatter) | |
virtual | ~sink ()=default |
bool | should_log (level::level_enum msg_level) const |
void | set_level (level::level_enum log_level) |
level::level_enum | level () const |
Public Attributes | |
const WORD | BOLD = FOREGROUND_INTENSITY |
const WORD | RED = FOREGROUND_RED |
const WORD | GREEN = FOREGROUND_GREEN |
const WORD | CYAN = FOREGROUND_GREEN | FOREGROUND_BLUE |
const WORD | WHITE = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE |
const WORD | YELLOW = FOREGROUND_RED | FOREGROUND_GREEN |
Additional Inherited Members | |
Protected Attributes inherited from spdlog::sinks::sink | |
level_t | level_ {level::trace} |
std::unique_ptr< spdlog::formatter > | formatter_ {details::make_unique<spdlog::pattern_formatter>()} |
Definition at line 30 of file wincolor_sink.h.
|
inline |
Definition at line 40 of file wincolor_sink.h.
|
inlineoverride |
Definition at line 53 of file wincolor_sink.h.
|
delete |
|
inlinefinaloverridevirtual |
Implements spdlog::sinks::sink.
Definition at line 92 of file wincolor_sink.h.
|
inlinefinaloverridevirtual |
Implements spdlog::sinks::sink.
Definition at line 68 of file wincolor_sink.h.
|
delete |
|
inline |
Definition at line 62 of file wincolor_sink.h.
|
inlinefinaloverridevirtual |
Implements spdlog::sinks::sink.
Definition at line 103 of file wincolor_sink.h.
|
inlinefinaloverridevirtual |
Implements spdlog::sinks::sink.
Definition at line 97 of file wincolor_sink.h.
const WORD spdlog::sinks::wincolor_sink< OutHandle, ConsoleMutex >::BOLD = FOREGROUND_INTENSITY |
Definition at line 33 of file wincolor_sink.h.
const WORD spdlog::sinks::wincolor_sink< OutHandle, ConsoleMutex >::CYAN = FOREGROUND_GREEN | FOREGROUND_BLUE |
Definition at line 36 of file wincolor_sink.h.
const WORD spdlog::sinks::wincolor_sink< OutHandle, ConsoleMutex >::GREEN = FOREGROUND_GREEN |
Definition at line 35 of file wincolor_sink.h.
const WORD spdlog::sinks::wincolor_sink< OutHandle, ConsoleMutex >::RED = FOREGROUND_RED |
Definition at line 34 of file wincolor_sink.h.
const WORD spdlog::sinks::wincolor_sink< OutHandle, ConsoleMutex >::WHITE = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE |
Definition at line 37 of file wincolor_sink.h.
const WORD spdlog::sinks::wincolor_sink< OutHandle, ConsoleMutex >::YELLOW = FOREGROUND_RED | FOREGROUND_GREEN |
Definition at line 38 of file wincolor_sink.h.