setTrace

abstract fun setTrace(eventCodes: SqliteTraceEventCode?, handler: Trace?)(source)

Sets the callback invoked whenever any of the events identified by eventCodes occur, or clears it if eventCodes is null.

Throws

if setting the handler fails.