public final class Level
extends Object
Class to represent Logger levels
-
-
Method Summary
int
Method to get the Level as an int
Method to get the Level string
-
Field Details
-
ERROR
public static final Level ERROR
ERROR log level
-
WARN
public static final Level WARN
WARN log level
-
INFO
public static final Level INFO
INFO log level
-
DEBUG
public static final Level DEBUG
DEBUG log level
-
TRACE
public static final Level TRACE
TRACE log level
-
ALL
public static final Level ALL
ALL log level
-
Method Details
-
toInt
public int toInt()
Method to get the Level as an int
- Returns:
- the return value
-
toString
Method to get the Level string
- Overrides:
toString in class Object
- Returns:
- the return value