public static enum Utils.LogLevel extends Enum<Utils.LogLevel>
Enum Constant and Description |
---|
DEBUG |
ERROR |
FATAL |
INFO |
TRACE |
WARN |
Modifier and Type | Method and Description |
---|---|
static Utils.LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Utils.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Utils.LogLevel DEBUG
public static final Utils.LogLevel ERROR
public static final Utils.LogLevel FATAL
public static final Utils.LogLevel INFO
public static final Utils.LogLevel TRACE
public static final Utils.LogLevel WARN
public static Utils.LogLevel[] values()
for (Utils.LogLevel c : Utils.LogLevel.values()) System.out.println(c);
public static Utils.LogLevel 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 © 2021. All rights reserved.