Back to Exposed

defaultLogger

docs/api/exposed-r2dbc/org.jetbrains.exposed.v1.r2dbc/-r2dbc-transaction/default-logger.html

1.2.0896 B
Original Source

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 R2dbcDatabase.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.

Generated by Dokka © 2026 Copyright