public enum MyLogLevel extends Enum<MyLogLevel>
| Enum Constant and Description |
|---|
ALL
The ALL.
|
DEBUG
The DEBUG.
|
ERROR
The ERROR.
|
FATAL
The FATAL.
|
INFO
The INFO.
|
LOG
The LOG.
|
OFF
The OFF.
|
TEST
The TEST.
|
TRACE
The TRACE.
|
WARN
The WARN.
|
| Modifier and Type | Method and Description |
|---|---|
static MyLogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MyLogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MyLogLevel OFF
public static final MyLogLevel FATAL
public static final MyLogLevel ERROR
public static final MyLogLevel WARN
public static final MyLogLevel INFO
public static final MyLogLevel DEBUG
public static final MyLogLevel TRACE
public static final MyLogLevel TEST
public static final MyLogLevel LOG
public static final MyLogLevel ALL
public static MyLogLevel[] values()
for (MyLogLevel c : MyLogLevel.values()) System.out.println(c);
public static MyLogLevel 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 nullCopyright © 2016 utils4j. All Rights Reserved.