log

fun log(level: Level, format: String, vararg args: Any)

Log the specified message if debugging is enabled.

Parameters

level
format

The format string.

args

The format arguments.


fun log(level: Level, exception: Throwable, format: String, vararg args: Any)

Log the specified message if debugging is enabled.

Parameters

level
exception

The exception that motivated this log entry.

format

The format string.

args

The format arguments.