Package com.pyranid
Interface StatementLogger
- All Known Implementing Classes:
DefaultStatementLogger
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Contract for handling database statement log events.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionvoid
log
(StatementLog statementLog) Performs a logging operation on the givenstatementLog
.
-
Method Details
-
log
Performs a logging operation on the givenstatementLog
.Implementors might choose to no-op, write to stdout or a logging framework, send alerts about slow queries, and so on.
- Parameters:
statementLog
- The event to log
-