public static enum Logger.Threshold extends java.lang.Enum<Logger.Threshold>
Enum Constant and Description |
---|
ALL |
DEBUG |
ERROR |
INFO |
OFF |
TRACE |
WARN |
Modifier and Type | Method and Description |
---|---|
boolean |
passes(Logger.Level level) |
static Logger.Threshold |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Logger.Threshold[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Logger.Threshold ALL
public static final Logger.Threshold TRACE
public static final Logger.Threshold DEBUG
public static final Logger.Threshold INFO
public static final Logger.Threshold WARN
public static final Logger.Threshold ERROR
public static final Logger.Threshold OFF
public static Logger.Threshold[] values()
for (Logger.Threshold c : Logger.Threshold.values()) System.out.println(c);
public static Logger.Threshold 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 boolean passes(Logger.Level level)