log
abstract fun log(category: C, level: Log.Level, source: String?, throwable: Throwable?, message: () -> String)
Log a message with the given category and level.
The message is lazy-evaluated, and should only be invoked if the entry passes the log filters.
Parameters
category
The category of the source producing the log entry.
level
The severity level of the log entry.
source
The source of the log entry.
throwable
An optional Throwable associated with the log entry, such as an exception being logged.
message
A lambda that produces the log message.