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