LogPrinter

fun interface LogPrinter

Log printer interface that receives every emitted log entry. Default implementation from getPlatformLogPrinter routes every message to the platform-specific logging facility.

See also

Types

Link copied to clipboard

The log level, from the lowest to the highest priority.

Functions

Link copied to clipboard
abstract fun print(level: Logger.LogPrinter.Level, tag: String, msg: String, throwable: Throwable?)

Print the given log msg, with the level, tag, and an optional throwable.