public class FormattedCommonsJdbcEventLogger extends CommonsJdbcEventLogger
CommonsJdbcEventLogger extension that provides pretty formatting of the
logged SQL messages.queryExecutionTimeLoggingThreshold| Constructor and Description |
|---|
FormattedCommonsJdbcEventLogger(RuntimeProperties runtimeProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
logQuery(String queryStr,
List<DbAttribute> attrs,
List<?> params,
long time) |
isLoggable, log, logBeginTransaction, logCommitTransaction, logConnect, logConnect, logConnectFailure, logConnectSuccess, logGeneratedKey, logPoolCreated, logQuery, logQueryError, logQueryParameters, logQueryParameters, logRollbackTransaction, logSelectCount, logSelectCount, logUpdateCountpublic FormattedCommonsJdbcEventLogger(RuntimeProperties runtimeProperties)
public void logQuery(String queryStr, List<DbAttribute> attrs, List<?> params, long time)
logQuery in interface JdbcEventLoggerlogQuery in class CommonsJdbcEventLoggerCopyright © 2001–2015 Apache Cayenne. All rights reserved.