public static enum LogConfiguration.LogLevel extends java.lang.Enum<LogConfiguration.LogLevel>
Enum Constant and Description |
---|
ALL |
DEBUG |
ERROR |
FATAL |
INFO |
OFF |
TRACE |
WARN |
Modifier and Type | Method and Description |
---|---|
org.apache.logging.log4j.Level |
getLevel()
Get the internal log level.
|
static LogConfiguration.LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogConfiguration.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogConfiguration.LogLevel ALL
public static final LogConfiguration.LogLevel TRACE
public static final LogConfiguration.LogLevel DEBUG
public static final LogConfiguration.LogLevel INFO
public static final LogConfiguration.LogLevel WARN
public static final LogConfiguration.LogLevel ERROR
public static final LogConfiguration.LogLevel FATAL
public static final LogConfiguration.LogLevel OFF
public static LogConfiguration.LogLevel[] values()
for (LogConfiguration.LogLevel c : LogConfiguration.LogLevel.values()) System.out.println(c);
public static LogConfiguration.LogLevel 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 org.apache.logging.log4j.Level getLevel()