public class SLF4JQueryCountLoggingHandlerInterceptor extends AbstractQueryCountLoggingHandlerInterceptor
| Constructor and Description |
|---|
SLF4JQueryCountLoggingHandlerInterceptor() |
SLF4JQueryCountLoggingHandlerInterceptor(SLF4JLogLevel logLevel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
resetLogger(String loggerName)
Callback method to reset the logger object in concrete class when log name is specified.
|
void |
setLogger(org.slf4j.Logger logger)
Override
Logger instance. |
void |
setLogLevel(SLF4JLogLevel logLevel) |
protected void |
writeLog(String logEntry) |
afterCompletion, setClearQueryCounter, setLogFormatter, setLoggerName, setWriteAsJsonpublic SLF4JQueryCountLoggingHandlerInterceptor()
public SLF4JQueryCountLoggingHandlerInterceptor(SLF4JLogLevel logLevel)
protected void writeLog(String logEntry)
writeLog in class AbstractQueryCountLoggingHandlerInterceptorpublic void setLogLevel(SLF4JLogLevel logLevel)
protected void resetLogger(String loggerName)
AbstractQueryCountLoggingHandlerInterceptorresetLogger in class AbstractQueryCountLoggingHandlerInterceptorloggerName - logger namepublic void setLogger(org.slf4j.Logger logger)
Logger instance.logger - new log instanceCopyright © 2017. All rights reserved.