log

open override fun log(severity: UmamiLogger.Severity, message: String, throwable: Throwable? = null)

The core logging function that maps UmamiLogger.Severity to the appropriate method in the underlying Kermit logger.

This implementation ensures that calls to the generic log method are dispatched to the correct severity-specific function (e.g., verbose, debug).

Parameters

severity

The UmamiLogger.Severity level of the log message.

message

The message string to be logged.

throwable

An optional Throwable to accompany the log message.