# defaultLogger

val defaultLogger: CompositeSqlLogger

A CompositeSqlLogger containing any SqlLogger instances that are implicitly added to a new transaction.

By default, this property will store the value passed to `DatabaseConfig.sqlLogger` when `Database.connect()` is invoked, wrapped as a CompositeSqlLogger. If no value is configured, the default setting is a wrapped `Slf4jSqlDebugLogger`, which only logs SQL strings if DEBUG level is enabled.