Skip to content

Struct SolidSyslogTimeQuality

ClassList > SolidSyslogTimeQuality

Feeds the RFC 5424 "timeQuality" SD-ELEMENT written by a TimeQualitySd.

  • #include <SolidSyslogTimeQuality.h>
struct SolidSyslogTimeQuality
{
    bool TzKnown;
    bool IsSynced;
    uint32_t SyncAccuracyMicroseconds;
};

Public Attributes Documentation

IsSynced

Emitted as isSynced=1/0: is the clock synced to a reliable source.

bool SolidSyslogTimeQuality::IsSynced;


SyncAccuracyMicroseconds

Emitted as syncAccuracy: how closely the clock is synced, in microseconds.

uint32_t SolidSyslogTimeQuality::SyncAccuracyMicroseconds;

Written only while IsSynced is true - RFC 5424 section 7.1.3 forbids the pairing, so a value left here with IsSynced false is dropped. Set SOLIDSYSLOG_SYNC_ACCURACY_OMIT when synced but the accuracy is unknown.


TzKnown

Emitted as tzKnown=1/0: is the local timezone known.

bool SolidSyslogTimeQuality::TzKnown;



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