log

abstract fun log(level: LogLevel, message: String, throwable: Throwable?)(source)

Records message at level, with the stack trace of throwable if there is one.