public class CommonsQueryLoggingListener extends AbstractQueryLoggingListener
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
protected CommonsLogLevel |
logLevel |
queryLogEntryCreator, writeDataSourceNameDEFAULT| Constructor and Description |
|---|
CommonsQueryLoggingListener() |
| 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 |
setLogLevel(CommonsLogLevel logLevel) |
protected void |
writeLog(String message) |
afterQuery, beforeQuery, getEntry, setLoggerName, setQueryLogEntryCreator, setWriteDataSourceNameprotected org.apache.commons.logging.Log log
protected CommonsLogLevel logLevel
protected void writeLog(String message)
writeLog in class AbstractQueryLoggingListenerpublic void setLogLevel(CommonsLogLevel logLevel)
protected void resetLogger(String loggerName)
AbstractQueryLoggingListenerresetLogger in class AbstractQueryLoggingListenerloggerName - logger nameCopyright © 2016. All rights reserved.