public enum BusinessLogger extends java.lang.Enum<BusinessLogger>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
record(java.lang.Class<bap.core.domain.log.extend.LogBusinessExtender> clazz,
java.lang.String type,
java.lang.String description)
记录业务日志信息到自定义业务日志表中
|
void |
record(java.lang.String type,
java.lang.String description)
记录业务日志信息到平台业务日志表中
|
static BusinessLogger |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BusinessLogger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusinessLogger INSTANCE
public static BusinessLogger[] values()
for (BusinessLogger c : BusinessLogger.values()) System.out.println(c);
public static BusinessLogger 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 void record(java.lang.String type,
java.lang.String description)
type - 业务日志的分类description - 业务描述public void record(java.lang.Class<bap.core.domain.log.extend.LogBusinessExtender> clazz,
java.lang.String type,
java.lang.String description)
clazz - 业务日志的唯一业务标识type - 业务日志的分类description - 业务描述