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