|
CX Framework
Cross-platform C utility framework
|
#include <logserializer.h>
Data Fields | |
| int | dateFormat |
| Date format from LOG_DATE_FORMATS; ignored under LOG_OmitDate. | |
| int | spacing |
| Spaces between the prefix and the message (0 defaults to 2) | |
| uint32 | flags |
| Bitwise OR of LOG_FLAGS values. | |
| strref | ctxfields |
Configuration for the text serializer
Produces the one-line human-readable form: timestamp, level, channel, message.
Definition at line 112 of file logserializer.h.
| strref LogTextConfig::ctxfields |
With LOG_IncludeContext, the context fields to render, comma-separated; empty renders all of them. A text log usually wants one or two correlation ids rather than everything a request accumulated, which is the whole reason this is a subset and not a flag. Copied at creation, so the caller need not keep it.
Definition at line 121 of file logserializer.h.