Package com.pyranid
Interface StatementLogger
- All Known Implementing Classes:
DefaultStatementLogger
public interface StatementLogger
Contract for handling database statements 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
-