write

abstract fun write(message: String, tr: Throwable? = null, logLevel: LogLevel = LogLevel.INFO)

Writes a log message with an optional throwable and a specified log level.

Parameters

message

The log message to be printed.

tr

An optional Throwable to be logged with the message. Defaults to null.

logLevel

The severity of the log message. Defaults to LogLevel.INFO.