LogCallback

fun interface LogCallback

Receives a log message.

On the JVM, Android, and Kotlin/Native, native code calls it on one of its own threads. On Kotlin/Wasm, the page calls it when it dispatches the binding's delivery queue.

If it throws, the binding reports it as a CallbackException.

See mln_log_callback in the C API reference.

Functions

Link copied to clipboard
abstract operator fun invoke(severity: LogSeverity, event: LogEvent, code: Long, message: String)