public static enum Logger.LEVEL extends java.lang.Enum<Logger.LEVEL>
Enum Constant and Description |
---|
ANALYTICS |
DEBUG |
ERROR |
FATAL |
INFO |
LOG |
TRACE |
WARN |
Modifier and Type | Method and Description |
---|---|
static Logger.LEVEL |
fromString(java.lang.String level)
Get the LEVEL enum from the level String parameter, or null if not found.
|
static Logger.LEVEL |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Logger.LEVEL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Logger.LEVEL ANALYTICS
public static final Logger.LEVEL FATAL
public static final Logger.LEVEL ERROR
public static final Logger.LEVEL WARN
public static final Logger.LEVEL INFO
public static final Logger.LEVEL LOG
public static final Logger.LEVEL DEBUG
public static final Logger.LEVEL TRACE
public static Logger.LEVEL[] values()
for (Logger.LEVEL c : Logger.LEVEL.values()) System.out.println(c);
public static Logger.LEVEL valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Logger.LEVEL fromString(java.lang.String level)
Example: LEVEL.fromString("ERROR"); // returns LEVEL.ERROR enum
level
- a String representing the LEVEL enum