critical

fun critical(tag: String, message: String, throwable: Throwable? = null)

Logs high-importance errors that should always appear even in production.

Parameters

tag

The log tag used to identify the source.

message

The message to log.

throwable

Optional exception to include in the log output.