LRAUV  revA
Syslog Class Reference

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
 

Detailed Description

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.

Member Function Documentation

static const char* Syslog::SeverityToString ( Severity  sev)
inlinestatic
static Severity Syslog::StringToSeverity ( const char *  sev)
inlinestatic

References CRITICAL, DEBUG, ERROR, FAULT, IMPORTANT, INFO, and NONE.

Referenced by LuaAPI::Exec().

Member Data Documentation

const int Syslog::SEVERITY_MASK = 0x001C
static

Referenced by SyslogEntry::Read().


The documentation for this class was generated from the following file: