speziLogger

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.

Parameters

config

Configuration to be applied on the logger


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

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