public static enum Logger.Level extends Enum<Logger.Level>
Enum Constant and Description |
---|
DEBUG
Fairly verbose.
|
ERROR |
INFO
All important messages come through at this level or higher.
|
TRACE
Extremely verbose, and only intended for use while developing.
|
WARN |
Modifier and Type | Method and Description |
---|---|
static Logger.Level |
valueOf(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 TRACE
public static final Logger.Level DEBUG
public static final Logger.Level INFO
public static final Logger.Level WARN
public static final Logger.Level ERROR
public static Logger.Level[] values()
for (Logger.Level c : Logger.Level.values()) System.out.println(c);
public static Logger.Level valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null