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