public enum LoggingLevel extends Enum<LoggingLevel>
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled(LoggingLevel level)
Is the given logging level equal or higher than the current level.
|
static LoggingLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingLevel TRACE
public static final LoggingLevel DEBUG
public static final LoggingLevel INFO
public static final LoggingLevel WARN
public static final LoggingLevel ERROR
public static final LoggingLevel OFF
public static LoggingLevel[] values()
for (LoggingLevel c : LoggingLevel.values()) System.out.println(c);
public static LoggingLevel 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 boolean isEnabled(LoggingLevel level)
Apache Camel