File SolidSyslogErrors.h¶
FileList > Core > Interface > SolidSyslogErrors.h
Go to the source code of this file
Error codes and Source identity for the SolidSyslog instance.
#include "ExternC.h"
Public Types¶
| Type | Name |
|---|---|
| enum | SolidSyslogErrors Detail codes for events whose Source is SolidSyslogErrorSource (the SolidSyslog singleton). |
Public Attributes¶
| Type | Name |
|---|---|
| const struct SolidSyslogErrorSource | SolidSyslogErrorSource The identity for events raised by the SolidSyslog singleton. |
Public Types Documentation¶
enum SolidSyslogErrors¶
Detail codes for events whose Source is SolidSyslogErrorSource (the SolidSyslog singleton).
enum SolidSyslogErrors {
SOLIDSYSLOG_ERROR_CREATE_NULL_CONFIG,
SOLIDSYSLOG_ERROR_CREATE_NULL_BUFFER,
SOLIDSYSLOG_ERROR_CREATE_NULL_SENDER,
SOLIDSYSLOG_ERROR_CREATE_NULL_STORE,
SOLIDSYSLOG_ERROR_CREATE_INCONSISTENT_SD,
SOLIDSYSLOG_ERROR_LOG_NULL_MESSAGE,
SOLIDSYSLOG_ERROR_LOG_NULL_HANDLE,
SOLIDSYSLOG_ERROR_LOG_INCONSISTENT_SD,
SOLIDSYSLOG_ERROR_SERVICE_NULL_HANDLE,
SOLIDSYSLOG_ERROR_POOL_EXHAUSTED,
SOLIDSYSLOG_ERROR_UNKNOWN_DESTROY,
SOLIDSYSLOG_ERROR_MAX
};
A handler reads these off event->Detail after matching event->Source; the members name their own fault.
Public Attributes Documentation¶
variable SolidSyslogErrorSource¶
The identity for events raised by the SolidSyslog singleton.
A handler matches by address (event->Source == &SolidSyslogErrorSource), then reads event->Detail as an enum SolidSyslogErrors.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogErrors.h