mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
28 lines
507 B
Java
28 lines
507 B
Java
package io.ebeaninternal.api;
|
|
|
|
/**
|
|
* Log manager for SQL, TXN and Summary logging.
|
|
* <p>
|
|
* 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.
|
|
* </p>
|
|
*/
|
|
public interface SpiLogManager {
|
|
|
|
/**
|
|
* Return the SQL logger.
|
|
*/
|
|
SpiLogger sql();
|
|
|
|
/**
|
|
* Return the TXN logger.
|
|
*/
|
|
SpiLogger txn();
|
|
|
|
/**
|
|
* Return the Summary logger.
|
|
*/
|
|
SpiLogger sum();
|
|
|
|
}
|