LoggerReceiver

fun interface LoggerReceiver

Receives log messages emitted by the bridge runtime.

Register an implementation with register to observe messages from all producers that call log. Implementations should avoid throwing exceptions from onLoggerReceived, because one failing receiver can interrupt notification of later receivers.

Types

Link copied to clipboard
object Companion

Process-wide registry used to publish log messages to registered receivers.

Link copied to clipboard

Severity of a log message.

Functions

Link copied to clipboard
abstract fun onLoggerReceived(level: LoggerReceiver.Level, tag: String, message: String)

Handles a single log message.