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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getLevel()
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.