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