StructuredLogger

Interface defining the core logging capability for structured loggers.

Functions

Link copied to clipboard
abstract fun log(level: LogLevel, throwable: Throwable? = null, attrs: AttrBuilder.() -> Unit = {}, message: () -> String)

Logs a message with a specific level and metadata.