File SolidSyslogStoreDefinition.h¶
FileList > Core > Interface > SolidSyslogStoreDefinition.h
The Store vtable (Write / ReadNextUnsent / MarkSent / HasUnsent / GetTotalBytes / GetUsedBytes / IsTransient) - the store-and-forward contract an implementor fills in (the Store extension point).
#include <stdbool.h>#include <stddef.h>#include "SolidSyslogExternC.h"
Classes¶
| Type | Name |
|---|---|
| struct | SolidSyslogStore Store-and-forward vtable. |
Public Types Documentation¶
SolidSyslogStoreWriteResult¶
What became of the record a Write was given.
enum SolidSyslogStoreWriteResult {
SOLIDSYSLOG_STORE_WRITE_NOT_RETAINED,
SOLIDSYSLOG_STORE_WRITE_KEPT,
SOLIDSYSLOG_STORE_WRITE_LOST
};
Not retained is the outcome Service reads with IsTransient: a retaining store's discard policy turned it away, which under Halt is where the logger stops, or a store that keeps nothing never had it and the sender takes it. Lost means the store could not write it and has reported why; the record is gone and the logger carries on. Zero is the outcome that fails closed.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogStoreDefinition.h