Struct SolidSyslogConfig¶
Wiring for SolidSyslog_Create. More...
#include <SolidSyslogConfig.h>
Public Attributes¶
| Type | Name |
|---|---|
| struct SolidSyslogBuffer * | Buffer Also sets Log's blocking behaviour (inline vs enqueued). |
| SolidSyslogClockFunction | Clock NULL leaves timestamps at the RFC 5424 nil value. |
| SolidSyslogHeaderFieldFunction | GetAppName RFC 5424 APP-NAME; NULL emits "-". |
| void * | GetAppNameContext Passed back to the callback unchanged. |
| SolidSyslogHeaderFieldFunction | GetHostname RFC 5424 HOSTNAME; NULL emits "-". |
| void * | GetHostnameContext Passed back to the callback unchanged. |
| SolidSyslogHeaderFieldFunction | GetProcessId RFC 5424 PROCID; NULL emits "-". |
| void * | GetProcessIdContext Passed back to the callback unchanged. |
| struct SolidSyslogStructuredData ** | Sd Per-instance SD-ELEMENTs on every message, before per-message SD. |
| size_t | SdCount |
| struct SolidSyslogSender * | Sender |
| struct SolidSyslogStore * | Store NULL (or SolidSyslogNullStore_Get() ) means no store-and-forward. |
Detailed Description¶
NULL is safe for any field: Buffer, Sender, and Store fall back to their Null object and report an error (a no-op unless an error handler is installed; inject the Null* object instead to stay silent), while the callbacks fall back to nil defaults with no error. Whatever you do provide must outlive the created handle; the config struct itself is only read during Create and may be transient.
Public Attributes Documentation¶
variable Buffer¶
Also sets Log's blocking behaviour (inline vs enqueued).
variable Clock¶
NULL leaves timestamps at the RFC 5424 nil value.
variable GetAppName¶
RFC 5424 APP-NAME; NULL emits "-".
variable GetAppNameContext¶
Passed back to the callback unchanged.
variable GetHostname¶
RFC 5424 HOSTNAME; NULL emits "-".
variable GetHostnameContext¶
Passed back to the callback unchanged.
variable GetProcessId¶
RFC 5424 PROCID; NULL emits "-".
variable GetProcessIdContext¶
Passed back to the callback unchanged.
variable Sd¶
Per-instance SD-ELEMENTs on every message, before per-message SD.
variable SdCount¶
variable Sender¶
variable Store¶
NULL (or SolidSyslogNullStore_Get() ) means no store-and-forward.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogConfig.h