All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.api.SpiLogManager Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.api;

/**
 * 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. *

*/ public interface SpiLogManager { /** * Enable bind logging. */ boolean enableBindLog(); /** * Logger used for general transactions. */ SpiTxnLogger logger(); /** * Logger used for read only transactions. */ SpiTxnLogger readOnlyLogger(); /** * Hmmmm, return the SQL logger for logging truncate statements. *

* Maybe we should get rid of this */ SpiLogger sql(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy