Package-level declarations

Types

Link copied to clipboard

A utility class for logging messages using different logging strategies.

Functions

Link copied to clipboard

A read only property that returns a logger with tag tag and prefixes the messages with the name of the component where the property is defined. tag will override the tag of the config, but messagePrefix can be overriden via the config

Link copied to clipboard

A read only property that returns a logger configured via config lambda. Logger instances created via this function, automatically derive the tag name from the component that created it.

fun speziLogger(tag: String, config: LoggerConfig.() -> Unit = {}): Lazy<SpeziLogger>

A global function that returns a kotlin.Lazy logger with the given tag