public class LoggingMethodInterceptor extends Object implements MethodInterceptor
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
logAfterInvoke |
protected boolean |
logBeforeInvoke |
protected boolean |
logWhenError |
protected boolean |
logWhenException |
构造器和说明 |
---|
LoggingMethodInterceptor() |
protected boolean logBeforeInvoke
protected boolean logAfterInvoke
protected boolean logWhenException
protected boolean logWhenError
public void setLogEvent(boolean logBeforeInvoke, boolean logAfterInvoke, boolean logWhenException, boolean logWhenError)
public void filter(InterceptorChain chain)
filter
在接口中 MethodInterceptor
Copyright © 2017. All rights reserved.