public static enum Logger.Level extends java.lang.Enum<Logger.Level>
Enum Constant and Description |
---|
ALL
logs all messages.
|
FINE
FINER level.
|
FINER
FINEST level.
|
FINEST
FINEST level.
|
INFO
FINE level.
|
OFF
turns logging off.
|
SEVERE
SEVERE level.
|
WARNING
WARNING level.
|
Modifier and Type | Method and Description |
---|---|
int |
getOrder()
Returns the order of this level.
|
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 ALL
public static final Logger.Level FINEST
public static final Logger.Level FINER
public static final Logger.Level FINE
public static final Logger.Level INFO
public static final Logger.Level WARNING
public static final Logger.Level SEVERE
public static final Logger.Level OFF
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 int getOrder()