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 Type
    Method
    Description
    void
    log(StatementLog statementLog)
    Performs a logging operation on the given statementLog.
  • Method Details

    • log

      void log(@Nonnull StatementLog statementLog)
      Performs a logging operation on the given statementLog.

      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