|
CX Framework
Cross-platform C utility framework
|
Console-based log destination with level coloring. More...
#include <cx/console/console.h>#include <cx/console/constyle.h>#include <cx/log/log.h>#include <cx/log/logserializer.h>Go to the source code of this file.
Data Structures | |
| struct | LogConsoleConfig |
Typedefs | |
| typedef struct LogConsoleConfig | LogConsoleConfig |
| typedef struct LogConsoleData | LogConsoleData |
| Opaque handle for console logging state. | |
Enumerations | |
| enum | LOGCON_COLOR_MODE { LOGCON_ColorAuto = 0 , LOGCON_ColorOn , LOGCON_ColorOff } |
| Color decision for a console destination. More... | |
Functions | |
| LogDest * | logconsoleRegister (int maxlevel, strref chanfilter, ConStream *out, ConStream *err, const LogConsoleConfig *config, LogSerializer *ser) |
| LogConsoleData * | logconsoleCreate (ConStream *out, ConStream *err, const LogConsoleConfig *config, LogSerializer *ser) |
| void | logconsoleMsgFunc (const LogRecord *rec, void *userdata) |
| void | logconsoleBatchFunc (uint32 batchid, void *userdata) |
| void | logconsoleCloseFunc (void *userdata) |
Console-based log destination with level coloring.
Definition in file logconsole.h.