public class CommonsQueryCountLoggingHandlerInterceptor extends AbstractQueryCountLoggingHandlerInterceptor
HandlerInterceptor to log the query metrics during a http request
lifecycle using Apache Commons Logging.CommonsQueryCountLoggingServletFilter,
CommonsQueryCountLoggingRequestListener| Constructor and Description |
|---|
CommonsQueryCountLoggingHandlerInterceptor() |
CommonsQueryCountLoggingHandlerInterceptor(CommonsLogLevel logLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
setLogLevel(CommonsLogLevel logLevel) |
protected void |
writeLog(String logEntry) |
afterCompletion, setClearQueryCounter, setLogFormatter, setWriteAsJsonpublic CommonsQueryCountLoggingHandlerInterceptor()
public CommonsQueryCountLoggingHandlerInterceptor(CommonsLogLevel logLevel)
protected void writeLog(String logEntry)
writeLog in class AbstractQueryCountLoggingHandlerInterceptorpublic void setLogLevel(CommonsLogLevel logLevel)
Copyright © 2016. All rights reserved.