|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 |
java.lang.Object java.lang.Enum<Level> gboat2.base.core.logging.Level
public enum Level
业务日志级别
枚举常量摘要 | |
---|---|
DEBUG
The DEBUG Level designates fine-grained informational events
that are most useful to debug an application. |
|
ERROR
The ERROR level designates error events that might still
allow the application to continue running. |
|
INFO
The INFO level designates informational messages that
highlight the progress of the application at coarse-grained level. |
|
OFF
|
|
WARN
The WARN level designates potentially harmful situations. |
方法摘要 | |
---|---|
int |
getValue()
|
static Level |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。 |
static Level[] |
values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。 |
从类 java.lang.Enum 继承的方法 |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
从类 java.lang.Object 继承的方法 |
---|
getClass, notify, notifyAll, wait, wait, wait |
枚举常量详细信息 |
---|
public static final Level DEBUG
DEBUG
Level designates fine-grained informational events
that are most useful to debug an application.
public static final Level INFO
INFO
level designates informational messages that
highlight the progress of the application at coarse-grained level.
public static final Level WARN
WARN
level designates potentially harmful situations.
public static final Level ERROR
ERROR
level designates error events that might still
allow the application to continue running.
public static final Level OFF
方法详细信息 |
---|
public static Level[] values()
for (Level c : Level.values()) System.out.println(c);
public static Level valueOf(String name)
name
- 要返回的枚举常量的名称。
如果该枚举类型没有带有指定名称的常量,
- 则抛出 IllegalArgumentExceptionpublic int getValue()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 |