|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.util.logging.LogLevel
public class LogLevel
Simple class to indicate a log level.
Field Summary | |
---|---|
static LogLevel |
ERROR
Level representing ERROR. |
static LogLevel |
FATAL
Level representing FATAL. |
static LogLevel |
INFO
Level representing INFO. |
static LogLevel |
WARN
Level representing WARN. |
Constructor Summary | |
---|---|
LogLevel(java.lang.String level)
Initialise this LogLevel with the given string description. |
Method Summary | |
---|---|
int |
toInt()
Return an int representation of this level. |
java.lang.String |
toString()
Return a String representation of this level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static LogLevel INFO
public static LogLevel WARN
public static LogLevel ERROR
public static LogLevel FATAL
Constructor Detail |
---|
public LogLevel(java.lang.String level)
level
- String indicating the log level.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int toInt()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |