logging
Class LogLevel

java.lang.Object
  extended by logging.LogLevel

public final class LogLevel
extends java.lang.Object


Field Summary
static int ALERT
          Indicates level type of message: Alert message
static int DEBUG
          Indicates level type of message, e.g.
static int EMERG
          Indicates level type of message: Emergency message
static int ERR
          Indicates level type of message: Error message
static int EXCEPTION
          Indicates level type of message: For instance to use when catching Exeption to output a debug message.
static int INFO
          Indicates level type of message: Information
static int NOTICE
          Indicates level type of message: Notice
private static java.lang.String[] STR_Levels
           
static int WARNING
          Indicates level type of message: Warning
 
Constructor Summary
LogLevel()
           
 
Method Summary
static int getLevelCount()
          Returns the number of log levels.
static java.lang.String getLevelName(int a_level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMERG

public static final int EMERG
Indicates level type of message: Emergency message

See Also:
Constant Field Values

ALERT

public static final int ALERT
Indicates level type of message: Alert message

See Also:
Constant Field Values

EXCEPTION

public static final int EXCEPTION
Indicates level type of message: For instance to use when catching Exeption to output a debug message.

See Also:
Constant Field Values

ERR

public static final int ERR
Indicates level type of message: Error message

See Also:
Constant Field Values

WARNING

public static final int WARNING
Indicates level type of message: Warning

See Also:
Constant Field Values

NOTICE

public static final int NOTICE
Indicates level type of message: Notice

See Also:
Constant Field Values

INFO

public static final int INFO
Indicates level type of message: Information

See Also:
Constant Field Values

DEBUG

public static final int DEBUG
Indicates level type of message, e.g. a simple debugging message to output something

See Also:
Constant Field Values

STR_Levels

private static final java.lang.String[] STR_Levels
Constructor Detail

LogLevel

public LogLevel()
Method Detail

getLevelCount

public static int getLevelCount()
Returns the number of log levels. Each log level is represented by an integer value from 0 to getLevelCount() - 1.

Returns:

getLevelName

public static java.lang.String getLevelName(int a_level)