|
LRAUV
revA
|
Logging utility class that provides enumeration of the severity associated with each textual SyslogEntry object. More...
#include <Syslog.h>
Public Types | |
| enum | Severity { NONE = -1, DEBUG = 0x0000, INFO = 0x0004, ERROR = 0x0008, IMPORTANT = 0x000C, CRITICAL = 0x0010, FAULT = 0x0014 } |
| An attempt to define different levels of syslog severity. More... | |
Static Public Member Functions | |
| static const char * | SeverityToString (Severity sev) |
| static Severity | StringToSeverity (const char *sev) |
Static Public Attributes | |
| static const int | SEVERITY_MASK = 0x001C |
Logging utility class that provides enumeration of the severity associated with each textual SyslogEntry object.
Also provides conversion of severity to string, to assist with SyslogEntry logging.
|
inlinestatic |
References CRITICAL, DEBUG, ERROR, FAULT, IMPORTANT, INFO, and NONE.
Referenced by SyslogEntry::toString(), and SyslogSeverityRule::toString().
|
inlinestatic |
|
static |
Referenced by SyslogEntry::Read().