SqlLogger

fun interface SqlLogger(source)

Receives the lifecycle events of every DatabaseConnection opened during the SQLite session, once registered through ksqlite.kapi.config.ConfigurationScope.setSqlLogger: opening, executing a statement and closing, see SqliteSqlLogEvent.

Functions

Link copied to clipboard
abstract fun log(connection: DatabaseConnection, event: SqliteSqlLogEvent)

Called for each event of connection.