File SolidSyslogConfig.h¶
FileList > Core > Interface > SolidSyslogConfig.h
Go to the source code of this file
The setup-time wiring: the SolidSyslogConfig struct and SolidSyslog_Create / _Destroy that build and release a logger from it.
#include <stddef.h>#include "SolidSyslogHeaderFieldFunction.h"#include "SolidSyslogTimestamp.h"#include "ExternC.h"
Classes¶
| Type | Name |
|---|---|
| struct | SolidSyslogConfig Wiring for SolidSyslog_Create. |
Public Functions¶
| Type | Name |
|---|---|
| struct SolidSyslog * | SolidSyslog_Create (const struct SolidSyslogConfig * config) Create a logger from config . |
| void | SolidSyslog_Destroy (struct SolidSyslog * handle) Release the logger's pool slot. |
Public Functions Documentation¶
function SolidSyslog_Create¶
Create a logger from config .
Never returns NULL: on a NULL config or an exhausted instance pool it reports via SolidSyslog_Error and returns a shared null instance whose Log/Service silently drop, so callers need not null-check the result.
function SolidSyslog_Destroy¶
Release the logger's pool slot.
Does not free the injected Buffer, Sender, Store, or Sd objects; the caller owns those. A NULL, foreign, or already-destroyed handle is reported via SolidSyslog_Error and ignored.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogConfig.h