10 #ifdef ERROR // A workaround for wingdi.h
14 #ifndef SYSLOGSEVERITY_H_
15 #define SYSLOGSEVERITY_H_
64 if( 0 == strncasecmp(
"DEBUG", sev, 6 ) )
68 else if( 0 == strncasecmp(
"INFO", sev, 5 ) )
72 else if( 0 == strncasecmp(
"ERROR", sev, 6 ) )
76 else if( 0 == strncasecmp(
"IMPORTANT", sev, 10 ) )
80 else if( 0 == strncasecmp(
"CRITICAL", sev, 9 ) )
84 else if( 0 == strncasecmp(
"FAULT", sev, 6 ) )
static Severity StringToSeverity(const char *sev)
Definition: Syslog.h:62
static const int SEVERITY_MASK
Definition: Syslog.h:37
static const char * SeverityToString(Severity sev)
Definition: Syslog.h:39
Logging utility class that provides enumeration of the severity associated with each textual SyslogEn...
Definition: Syslog.h:24
Severity
An attempt to define different levels of syslog severity.
Definition: Syslog.h:28