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