|
CX Framework
Cross-platform C utility framework
|
#include <logconsole.h>
Data Fields | |
| int | stderrLevel |
| int | colorMode |
| A LOGCON_COLOR_MODE value. | |
| ConStyle | levelStyle [LOG_Count] |
Configuration for console-based logging
Controls stdout/stderr routing and per-level coloring. Output formatting belongs to the serializer the console is created with, not here.
Definition at line 60 of file logconsole.h.
| ConStyle LogConsoleConfig::levelStyle[LOG_Count] |
Per-level style override. An all-zero entry (the zero-initialized default) uses this destination's built-in style for that level instead.
Definition at line 70 of file logconsole.h.
| int LogConsoleConfig::stderrLevel |
Messages at this level or more severe (level <= stderrLevel) go to conErr(); the rest go to conOut(). Pass LOG_Count to send everything to stderr, keeping stdout free for program output – the usual choice for a CLI tool.
Definition at line 64 of file logconsole.h.