Class Level
- java.lang.Object
-
- org.antublue.test.engine.internal.logger.Level
-
public final class Level extends Object
Class to represent Logger levels
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description inttoInt()Method to get the Level as an intstatic LeveltoLevel(String string, Level defaultLevel)Method to map a Level string to a LevelStringtoString()Method to get the Level string
-
-
-
Field Detail
-
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 Detail
-
toInt
public int toInt()
Method to get the Level as an int- Returns:
- the return value
-
toString
public String toString()
Method to get the Level string
-
-