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, logUpdateCountpublic FormattedSlf4jJdbcEventLogger(RuntimeProperties runtimeProperties)
@Deprecated public void logQuery(String queryStr, List<DbAttribute> attrs, List<?> params, long time)
logQuery in interface JdbcEventLoggerlogQuery in class Slf4jJdbcEventLoggerCopyright © 2001–2023 Apache Cayenne. All rights reserved.