Package com.pyranid
Class DefaultStatementLogger
java.lang.Object
com.pyranid.DefaultStatementLogger
- All Implemented Interfaces:
StatementLogger
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
log
(StatementLog statementLog) Performs a logging operation on the givenstatementLog
.
-
Field Details
-
LOGGER_NAME
The name of our logger.- See Also:
-
LOGGER_LEVEL
The level of our logger.
-
-
Constructor Details
-
DefaultStatementLogger
public DefaultStatementLogger()
-
-
Method Details
-
log
Description copied from interface:StatementLogger
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.
- Specified by:
log
in interfaceStatementLogger
- Parameters:
statementLog
- The event to log
-