@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @EnableConfigurationProperties(value=MonitorMethodProperties.class) @Import(value=AopLogMethodRegistrar.class) public @interface EnableAopLogMethod
LogMethodBefore
LogMethodAfter
LogMethodAround
LogUnMonitor
app.myoss.cloud.web.spring.web.method.aspectj.AopLogControllerExceptionHandler
@EnableAopLogMethod
@Configuration
public class Config {
}
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
enableAopLogControllerException
开启自动记录 controller异常,
使用:
app.myoss.cloud.web.spring.web.method.aspectj.AopLogControllerExceptionHandler
处理异常信息 |
boolean |
enableAopLogMethod
|
Copyright © 2018. All rights reserved.