Package org.apache.cayenne.log
Class FormattedSlf4jJdbcEventLogger
java.lang.Object
org.apache.cayenne.log.Slf4jJdbcEventLogger
org.apache.cayenne.log.FormattedSlf4jJdbcEventLogger
- All Implemented Interfaces:
JdbcEventLogger
A
Slf4jJdbcEventLogger
extension that provides pretty formatting of the logged SQL messages.- Since:
- 3.1, 4.0 renamed from FormattedCommonsJdbcEventLogger to FormattedSlf4jJdbcEventLogger as part of migration to SLF4J
-
Field Summary
Fields inherited from class org.apache.cayenne.log.Slf4jJdbcEventLogger
queryExecutionTimeLoggingThreshold
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.cayenne.log.Slf4jJdbcEventLogger
appendParameters, isLoggable, log, logBeginTransaction, logCommitTransaction, logGeneratedKey, logQueryError, logQueryParameters, logRollbackTransaction, logSelectCount, logSelectCount, logUpdateCount
-
Constructor Details
-
FormattedSlf4jJdbcEventLogger
-
-
Method Details
-
logQuery
- Specified by:
logQuery
in interfaceJdbcEventLogger
- Overrides:
logQuery
in classSlf4jJdbcEventLogger
-