| Enum Constant and Description |
|---|
ACCESS_LOGGER
功能访问日志
|
DATA_OPER_LOGGER
数据操作日志 ,增,删,改
|
DATA_QUERY_LOGGER
数据查询日志,查询操作
|
EXCEPTION_LOGGER
异常日志
|
LOGIN_LOGGER
登录日志
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
record(java.lang.String msg)
功能描述: 记录日志信息
|
void |
record(java.lang.String msg,
java.lang.Throwable t)
功能描述: 记录日志信息
|
static LoggerBox |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoggerBox[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggerBox LOGIN_LOGGER
public static final LoggerBox ACCESS_LOGGER
public static final LoggerBox DATA_OPER_LOGGER
public static final LoggerBox DATA_QUERY_LOGGER
public static final LoggerBox EXCEPTION_LOGGER
public static LoggerBox[] values()
for (LoggerBox c : LoggerBox.values()) System.out.println(c);
public static LoggerBox 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 abstract void record(java.lang.String msg)
msg - 日志信息public void record(java.lang.String msg,
java.lang.Throwable t)
msg - 日志信息t - 异常对象