public enum LogLevel extends java.lang.Enum<LogLevel>
LoggingFilter
枚举常量和说明 |
---|
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. |
public static LogLevel[] values()
for (LogLevel c : LogLevel.values()) System.out.println(c);
public static LogLevel valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getLevel()