Package com.pyranid

Class DefaultStatementLogger

java.lang.Object
com.pyranid.DefaultStatementLogger
All Implemented Interfaces:
StatementLogger

public class DefaultStatementLogger extends Object implements StatementLogger
Basic implementation of StatementLogger which logs to "com.pyranid.SQL" at Level.FINE.
Since:
1.0.0
Author:
Mark Allen
  • Field Details

  • Constructor Details

  • Method Details

    • log

      public void log(StatementLog statementLog)
      Description copied from interface: StatementLogger
      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.

      Specified by:
      log in interface StatementLogger
      Parameters:
      statementLog - The event to log