public static enum Logged.LogLevel extends Enum<Logged.LogLevel>
Enum Constant and Description |
---|
DEBUG |
ERROR |
FATAL |
INFO |
OFF |
TRACE |
WARN |
Modifier and Type | Method and Description |
---|---|
static Logged.LogLevel |
getMinimalLevel(Logged.LogLevel firstLevel,
Logged.LogLevel secondLevel)
Get the lesser log level from the given two levels.
|
static Logged.LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Logged.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Logged.LogLevel OFF
public static final Logged.LogLevel TRACE
public static final Logged.LogLevel DEBUG
public static final Logged.LogLevel INFO
public static final Logged.LogLevel WARN
public static final Logged.LogLevel ERROR
public static final Logged.LogLevel FATAL
public static Logged.LogLevel[] values()
for (Logged.LogLevel c : Logged.LogLevel.values()) System.out.println(c);
public static Logged.LogLevel 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 Logged.LogLevel getMinimalLevel(Logged.LogLevel firstLevel, Logged.LogLevel secondLevel)
firstLevel
- First log level.secondLevel
- Second log level.Copyright © 2012. All Rights Reserved.