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

    • log

      void log(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