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, logUpdateCount
public FormattedCommonsJdbcEventLogger(RuntimeProperties runtimeProperties)
public void logQuery(String queryStr, List<DbAttribute> attrs, List<?> params, long time)
logQuery
in interface JdbcEventLogger
logQuery
in class CommonsJdbcEventLogger
Copyright © 2001–2015 Apache Cayenne. All rights reserved.