File SolidSyslogStructuredData.h¶
FileList > Core > Interface > SolidSyslogStructuredData.h
Go to the source code of this file
The structured-data role: emit one or more RFC 5424 SD-ELEMENTs into a message (Format). More...
#include "ExternC.h"
Public Functions¶
| Type | Name |
|---|---|
| void | SolidSyslogStructuredData_Format (struct SolidSyslogStructuredData * sd, struct SolidSyslogSdElement * element) Dispatch to sd's Format, writing one or more SD-ELEMENTs intoelement . |
Detailed Description¶
This call dispatches to the injected SD's vtable, so the content — and whether it is stateful — is that SD's.
Public Functions Documentation¶
function SolidSyslogStructuredData_Format¶
Dispatch to sd's Format, writing one or more SD-ELEMENTs intoelement .
void SolidSyslogStructuredData_Format (
struct SolidSyslogStructuredData * sd,
struct SolidSyslogSdElement * element
)
Called by the library while it builds a message; element is an SD-ELEMENT writer that owns the framing, so an SD cannot break it. A stateful SD reads its data through sd (the vtable is its first member), so it must stay valid for the log call and must not be shared mutably across threads logging concurrently.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogStructuredData.h