Interface SpiLogManager


public interface SpiLogManager
Log manager for SQL, TXN and Summary logging.

In general at runtime this uses SLF4J Logger but this abstraction allows us to capture the logged SQL during testing such that we can assert against the executed sql if desired.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Enable bind logging.
    Logger used for general transactions.
    Logger used for read only transactions.
    sql()
    Hmmmm, return the SQL logger for logging truncate statements.
  • Method Details

    • enableBindLog

      boolean enableBindLog()
      Enable bind logging.
    • logger

      SpiTxnLogger logger()
      Logger used for general transactions.
    • readOnlyLogger

      SpiTxnLogger readOnlyLogger()
      Logger used for read only transactions.
    • sql

      SpiLogger sql()
      Hmmmm, return the SQL logger for logging truncate statements.

      Maybe we should get rid of this