Package-level declarations

Types

Link copied to clipboard

Log priorities adapted from GLib log levels. Higher values indicate more severe messages.

Functions

Link copied to clipboard

Extension function to convert a Throwable into a loggable string.

Link copied to clipboard
inline fun log(logDomain: String, priority: LogPriority = LogPriority.DEBUG, message: () -> String)

Overload of the log function that does not depend on this. This is suitable for top-level functions or contexts without an available instance.

Link copied to clipboard
inline fun Any.log(priority: LogPriority = LogPriority.DEBUG, logDomain: String? = null, message: () -> String)

Inline logging functions for a flexible and efficient logging API.