public enum LogLevel extends Enum<LogLevel>
LoggingFilter
Enum Constant and Description |
---|
DEBUG
LogLevel which logs messages on the DEBUG level. |
ERROR
LogLevel which logs messages on the ERROR level. |
INFO
LogLevel which logs messages on the INFO level. |
NONE
LogLevel which will not log any information |
TRACE
LogLevel which logs messages on the TRACE level. |
WARN
LogLevel which logs messages on the WARN level. |
Modifier and Type | Method and Description |
---|---|
int |
getLevel() |
static LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static LogLevel[] values()
for (LogLevel c : LogLevel.values()) System.out.println(c);
public static 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 int getLevel()
Copyright © 2004–2016 Apache MINA Project. All rights reserved.