Node Director
Static Public Member Functions | Static Public Attributes | List of all members
com.ice.syslog.SyslogDefs Class Reference

Static Public Member Functions

static int extractFacility (int code)
static int extractPriority (int code)
static int computeCode (int facility, int priority)
static String getPriorityName (int level)
static String getFacilityName (int facility)
static int getPriority (String priority) throws ParseException
static int getFacility (String facility) throws ParseException

Static Public Attributes

static final int LOG_EMERG = 0
static final int LOG_ALERT = 1
static final int LOG_CRIT = 2
static final int LOG_ERR = 3
static final int LOG_WARNING = 4
static final int LOG_NOTICE = 5
static final int LOG_INFO = 6
static final int LOG_DEBUG = 7
static final int LOG_ALL = 8
static final int LOG_KERN = 0
static final int LOG_USER = 1
static final int LOG_MAIL = 2
static final int LOG_DAEMON = 3
static final int LOG_AUTH = 4
static final int LOG_SYSLOG = 5
static final int LOG_LPR = 6
static final int LOG_NEWS = 7
static final int LOG_UUCP = 8
static final int LOG_CRON = 9
static final int LOG_LOCAL0 = 16
static final int LOG_LOCAL1 = 17
static final int LOG_LOCAL2 = 18
static final int LOG_LOCAL3 = 19
static final int LOG_LOCAL4 = 20
static final int LOG_LOCAL5 = 21
static final int LOG_LOCAL6 = 22
static final int LOG_LOCAL7 = 23
static final int LOG_NFACILITIES = 24
static final int LOG_PRIMASK = 0x07
static final int LOG_FACMASK = 0x03F8
static final int INTERNAL_NOPRI = 0x10
static final int LOG_PID = 0x01
static final int LOG_CONS = 0x02
static final int LOG_ODELAY = 0x04
static final int LOG_NDELAY = 0x08
static final int LOG_NOWAIT = 0x10
static final int LOG_PERROR = 0x20
static final int DEFAULT_PORT = 514

Member Function Documentation

static int com.ice.syslog.SyslogDefs.computeCode ( int  facility,
int  priority 
)
static
static int com.ice.syslog.SyslogDefs.extractFacility ( int  code)
static
static int com.ice.syslog.SyslogDefs.extractPriority ( int  code)
static
static int com.ice.syslog.SyslogDefs.getFacility ( String  facility) throws ParseException
static
static String com.ice.syslog.SyslogDefs.getFacilityName ( int  facility)
static
static int com.ice.syslog.SyslogDefs.getPriority ( String  priority) throws ParseException
static
static String com.ice.syslog.SyslogDefs.getPriorityName ( int  level)
static

Member Data Documentation

final int com.ice.syslog.SyslogDefs.DEFAULT_PORT = 514
static
final int com.ice.syslog.SyslogDefs.INTERNAL_NOPRI = 0x10
static
final int com.ice.syslog.SyslogDefs.LOG_ALERT = 1
static
final int com.ice.syslog.SyslogDefs.LOG_ALL = 8
static
final int com.ice.syslog.SyslogDefs.LOG_AUTH = 4
static
final int com.ice.syslog.SyslogDefs.LOG_CONS = 0x02
static
final int com.ice.syslog.SyslogDefs.LOG_CRIT = 2
static
final int com.ice.syslog.SyslogDefs.LOG_CRON = 9
static
final int com.ice.syslog.SyslogDefs.LOG_DAEMON = 3
static
final int com.ice.syslog.SyslogDefs.LOG_DEBUG = 7
static
final int com.ice.syslog.SyslogDefs.LOG_EMERG = 0
static
final int com.ice.syslog.SyslogDefs.LOG_ERR = 3
static
final int com.ice.syslog.SyslogDefs.LOG_FACMASK = 0x03F8
static
final int com.ice.syslog.SyslogDefs.LOG_INFO = 6
static
final int com.ice.syslog.SyslogDefs.LOG_KERN = 0
static
final int com.ice.syslog.SyslogDefs.LOG_LOCAL0 = 16
static
final int com.ice.syslog.SyslogDefs.LOG_LOCAL1 = 17
static
final int com.ice.syslog.SyslogDefs.LOG_LOCAL2 = 18
static
final int com.ice.syslog.SyslogDefs.LOG_LOCAL3 = 19
static
final int com.ice.syslog.SyslogDefs.LOG_LOCAL4 = 20
static
final int com.ice.syslog.SyslogDefs.LOG_LOCAL5 = 21
static
final int com.ice.syslog.SyslogDefs.LOG_LOCAL6 = 22
static
final int com.ice.syslog.SyslogDefs.LOG_LOCAL7 = 23
static
final int com.ice.syslog.SyslogDefs.LOG_LPR = 6
static
final int com.ice.syslog.SyslogDefs.LOG_MAIL = 2
static
final int com.ice.syslog.SyslogDefs.LOG_NDELAY = 0x08
static
final int com.ice.syslog.SyslogDefs.LOG_NEWS = 7
static
final int com.ice.syslog.SyslogDefs.LOG_NFACILITIES = 24
static
final int com.ice.syslog.SyslogDefs.LOG_NOTICE = 5
static
final int com.ice.syslog.SyslogDefs.LOG_NOWAIT = 0x10
static
final int com.ice.syslog.SyslogDefs.LOG_ODELAY = 0x04
static
final int com.ice.syslog.SyslogDefs.LOG_PERROR = 0x20
static
final int com.ice.syslog.SyslogDefs.LOG_PID = 0x01
static
final int com.ice.syslog.SyslogDefs.LOG_PRIMASK = 0x07
static
final int com.ice.syslog.SyslogDefs.LOG_SYSLOG = 5
static
final int com.ice.syslog.SyslogDefs.LOG_USER = 1
static
final int com.ice.syslog.SyslogDefs.LOG_UUCP = 8
static
final int com.ice.syslog.SyslogDefs.LOG_WARNING = 4
static

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