Log

object Log

Global logging object. To receive logs, call dispatcher.install.

Properties

Link copied to clipboard

Global log dispatcher.

Functions

Link copied to clipboard
fun assert(tag: String, throwable: Throwable? = null, message: (WriteMetadata) -> String)

Send an assert-level log message to the global dispatcher.

Link copied to clipboard
fun debug(tag: String, throwable: Throwable? = null, message: (WriteMetadata) -> String)

Send a debug-level log message to the global dispatcher.

Link copied to clipboard
fun dynamic(level: LogLevel, tag: String, throwable: Throwable? = null, message: (WriteMetadata) -> String)

Send a log message at a dynamic level to the global dispatcher.

Link copied to clipboard
fun error(tag: String, throwable: Throwable? = null, message: (WriteMetadata) -> String)

Send an error-level log message to the global dispatcher.

Link copied to clipboard
fun info(tag: String, throwable: Throwable? = null, message: (WriteMetadata) -> String)

Send an info-level log message to the global dispatcher.

Link copied to clipboard
fun verbose(tag: String, throwable: Throwable? = null, message: (WriteMetadata) -> String)

Send a verbose-level log message to the global dispatcher.

Link copied to clipboard
fun warn(tag: String, throwable: Throwable? = null, message: (WriteMetadata) -> String)

Send an warn-level log message to the global dispatcher.