writeLog

abstract fun writeLog(level: MbLog.LogLevel, tag: String, message: String, throwable: Throwable?)

Writes a log message with the specified level, tag, and optional exception.

This method is called for every log message that passes the logLevel threshold,

Parameters

level

The log level of message

tag

The log tag

message

The message content

throwable

Optional exception associated with this message, or null if none