withLogger

fun PreparedStatement.withLogger(logger: KLogger)(source)
fun PreparedStatement.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.