File SolidSyslogTimestamp.h¶
FileList > Core > Interface > SolidSyslogTimestamp.h
The broken-down timestamp struct and the SolidSyslogClockFunction that fills it, supplying the RFC 5424 TIMESTAMP field.
#include "SolidSyslogExternC.h"#include <stdint.h>
Classes¶
| Type | Name |
|---|---|
| struct | SolidSyslogTimestamp Broken-down timestamp as emitted by a SolidSyslogClockFunction. |
Public Types Documentation¶
SolidSyslogClockFunction¶
Fills timestamp with the current time, or zeroes it to signal "no
usable timestamp".
Installed as SolidSyslogConfig.Clock. Called for every record the logger formats: inside SolidSyslog_Log on any task that logs, and inside SolidSyslog_Service when the logger reports one of its own events. Those calls can overlap, so a clock must be safe to call concurrently.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogTimestamp.h