Enum Constant and Description |
---|
LOG_ALWAYS |
LOG_DETAILED |
LOG_EMERGENCY |
LOG_ERROR |
LOG_MAJOR |
LOG_MAX |
LOG_MINOR |
LOG_NOTHING |
LOG_TRACE |
LOG_WARNING |
Modifier and Type | Method and Description |
---|---|
static LogLevels |
getType(int val) |
int |
value()
Get the integer value of this enum
|
static LogLevels |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogLevels[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogLevels LOG_NOTHING
public static final LogLevels LOG_EMERGENCY
public static final LogLevels LOG_ALWAYS
public static final LogLevels LOG_ERROR
public static final LogLevels LOG_WARNING
public static final LogLevels LOG_MAJOR
public static final LogLevels LOG_MINOR
public static final LogLevels LOG_TRACE
public static final LogLevels LOG_DETAILED
public static final LogLevels LOG_MAX
public static LogLevels[] values()
for (LogLevels c : LogLevels.values()) System.out.println(c);
public static LogLevels 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 value()
public static LogLevels getType(int val)