public enum ELogLevel extends Enum<ELogLevel>
Enum Constant and Description |
---|
ALL |
DEBUG |
ERROR |
FATAL |
INFO |
OFF |
WARN |
Modifier and Type | Field and Description |
---|---|
org.apache.log4j.Level |
level |
Modifier and Type | Method and Description |
---|---|
static ELogLevel |
fromString(String level)
Determine log-level by the given
String |
static ELogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ELogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ELogLevel ALL
public static final ELogLevel DEBUG
public static final ELogLevel INFO
public static final ELogLevel WARN
public static final ELogLevel ERROR
public static final ELogLevel FATAL
public static final ELogLevel OFF
public static ELogLevel[] values()
for (ELogLevel c : ELogLevel.values()) System.out.println(c);
public static ELogLevel 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 © 2019 XIMA MEDIA GmbH. All rights reserved.