@Component @ConditionalOnProperty(prefix="bigbird.common.logging.custom", name="enable", havingValue="true") public class CustomLoggingAop extends BaseLoggingAop implements org.springframework.core.Ordered
构造器和说明 |
---|
CustomLoggingAop() |
限定符和类型 | 方法和说明 |
---|---|
String |
getClassSimpleName(org.aspectj.lang.ProceedingJoinPoint joinPoint)
获取类的名称
|
ExcludeWrapper |
getExclude()
获取排除的类或方法
|
String |
getLoggingLevel()
获取日志级别
|
String |
getLoggingType()
获取日志类型
|
com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper()
获取当前的序列化工具
|
int |
getOrder() |
Integer |
getSerializeLength()
获取序列化长度
|
void |
pointcut()
pointcut 指定切入点的生效时机
|
around
public void pointcut()
BaseLoggingAop
pointcut
在类中 BaseLoggingAop
public String getClassSimpleName(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws Exception
BaseLoggingAop
getClassSimpleName
在类中 BaseLoggingAop
joinPoint
- joinPointException
public String getLoggingType()
BaseLoggingAop
getLoggingType
在类中 BaseLoggingAop
public String getLoggingLevel()
BaseLoggingAop
getLoggingLevel
在类中 BaseLoggingAop
public ExcludeWrapper getExclude()
BaseLoggingAop
getExclude
在类中 BaseLoggingAop
public Integer getSerializeLength()
BaseLoggingAop
getSerializeLength
在类中 BaseLoggingAop
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
BaseLoggingAop
getObjectMapper
在类中 BaseLoggingAop
public int getOrder()
getOrder
在接口中 org.springframework.core.Ordered