withLogger

fun withLogger(logger: Logger)(source)

Sets the logger used to log the query.

This is a no-op if tracing is not enabled, see the full conditions on Database.