- java.lang.Object
-
- io.ebean.test.CapturingLoggerFactory
-
- All Implemented Interfaces:
io.ebeaninternal.api.SpiLoggerFactory
public class CapturingLoggerFactory extends Object implements io.ebeaninternal.api.SpiLoggerFactory
Create a logger that captures the SQL and register it for later access in tests.The logged SQL is accessed by LoggedSql.
-
-
Constructor Summary
Constructors Constructor Description CapturingLoggerFactory()
-
-
-
Method Detail
-
create
public io.ebeaninternal.api.SpiLogger create(String name)
- Specified by:
createin interfaceio.ebeaninternal.api.SpiLoggerFactory
-
-