File SolidSyslogCaptureState.h¶
FileList > Core > Interface > SolidSyslogCaptureState.h
The capture state: whether the device has decided that security logging is on, and the function an integrator injects to answer it.
#include "SolidSyslogExternC.h"
Public Types Documentation¶
SolidSyslogCaptureState¶
Whether the device has decided that security logging is on.
enum SolidSyslogCaptureState {
SOLIDSYSLOG_CAPTURE_UNDECIDED,
SOLIDSYSLOG_CAPTURE_ON,
SOLIDSYSLOG_CAPTURE_OFF
};
Undecided is the state before its configuration is read: records are held in RAM. On captures them. Off is the user's opt-out: a record is dropped as it is logged, and records held while undecided are discarded; what was captured while on is still delivered.
SolidSyslogCaptureStateFunction¶
Answers the device's capture state.
The logger asks at the moment it has to decide, so the answer may change on a running device: from the task that logs, in SolidSyslog_Log, and from the task that calls SolidSyslog_Service. The context is the one paired with it, passed back unchanged.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogCaptureState.h