public static enum Logger.Level extends Enum<Logger.Level>
| Enum Constant and Description |
|---|
ASSERT
Corresponding constant for
Log#ASSERT. |
DEBUG
Corresponding constant for
Log#DEBUG. |
ERROR
Corresponding constant for
Log#ERROR. |
INFO
Corresponding constant for
Log#INFO. |
VERBOSE
Corresponding constant for
Log#VERBOSE. |
WARN
Corresponding constant for
Log#WARN. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
includes(Logger.Level level)
Returns whether this log level includes the specified one or not.
|
int |
intValue()
Returns int value of the priority as it declared in
Log. |
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 VERBOSE
Log#VERBOSE.public static final Logger.Level DEBUG
Log#DEBUG.public static final Logger.Level INFO
Log#INFO.public static final Logger.Level WARN
Log#WARN.public static final Logger.Level ERROR
Log#ERROR.public static final Logger.Level ASSERT
Log#ASSERT.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 nullpublic int intValue()
Log.Log class.public boolean includes(Logger.Level level)
level - the level.true if the specified level is included into this one.Copyright © 2015. All Rights Reserved.