Skip to content

Struct SolidSyslogConfig

ClassList > 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).

struct SolidSyslogBuffer* SolidSyslogConfig::Buffer;


variable Clock

NULL leaves timestamps at the RFC 5424 nil value.

SolidSyslogClockFunction SolidSyslogConfig::Clock;


variable GetAppName

RFC 5424 APP-NAME; NULL emits "-".

SolidSyslogHeaderFieldFunction SolidSyslogConfig::GetAppName;


variable GetAppNameContext

Passed back to the callback unchanged.

void* SolidSyslogConfig::GetAppNameContext;


variable GetHostname

RFC 5424 HOSTNAME; NULL emits "-".

SolidSyslogHeaderFieldFunction SolidSyslogConfig::GetHostname;


variable GetHostnameContext

Passed back to the callback unchanged.

void* SolidSyslogConfig::GetHostnameContext;


variable GetProcessId

RFC 5424 PROCID; NULL emits "-".

SolidSyslogHeaderFieldFunction SolidSyslogConfig::GetProcessId;


variable GetProcessIdContext

Passed back to the callback unchanged.

void* SolidSyslogConfig::GetProcessIdContext;


variable Sd

Per-instance SD-ELEMENTs on every message, before per-message SD.

struct SolidSyslogStructuredData** SolidSyslogConfig::Sd;


variable SdCount

size_t SolidSyslogConfig::SdCount;

variable Sender

struct SolidSyslogSender* SolidSyslogConfig::Sender;

variable Store

NULL (or SolidSyslogNullStore_Get() ) means no store-and-forward.

struct SolidSyslogStore* SolidSyslogConfig::Store;



The documentation for this class was generated from the following file Core/Interface/SolidSyslogConfig.h