log

fun <E : Throwable> System.Logger.log(level: System.Logger.Level, exception: E, message: (E) -> Any?)

Log a message, with associated exception information.

Parameters

level

Level used in the log statement.

exception

The exception associated with log message.

message

The message supplier to use in the log statement.