Logger

expect interface Logger
actual interface Logger
actual typealias Logger = Logger
actual interface Logger

Functions

Link copied to clipboard
expect abstract fun debug(message: String)
expect abstract fun debug(message: String, cause: Throwable)
actual abstract fun debug(message: String)
actual abstract fun debug(message: String, cause: Throwable)
actual abstract fun debug(message: String)
actual abstract fun debug(message: String, cause: Throwable)
Link copied to clipboard
expect abstract fun error(message: String)
expect abstract fun error(message: String, cause: Throwable)
actual abstract fun error(message: String)
actual abstract fun error(message: String, cause: Throwable)
actual abstract fun error(message: String)
actual abstract fun error(message: String, cause: Throwable)
Link copied to clipboard
expect abstract fun info(message: String)
expect abstract fun info(message: String, cause: Throwable)
actual abstract fun info(message: String)
actual abstract fun info(message: String, cause: Throwable)
actual abstract fun info(message: String)
actual abstract fun info(message: String, cause: Throwable)
Link copied to clipboard
expect abstract fun trace(message: String)
expect abstract fun trace(message: String, cause: Throwable)
actual abstract fun trace(message: String)
actual abstract fun trace(message: String, cause: Throwable)
actual abstract fun trace(message: String)
actual abstract fun trace(message: String, cause: Throwable)
Link copied to clipboard
expect abstract fun warn(message: String)
expect abstract fun warn(message: String, cause: Throwable)
actual abstract fun warn(message: String)
actual abstract fun warn(message: String, cause: Throwable)
actual abstract fun warn(message: String)
actual abstract fun warn(message: String, cause: Throwable)

Properties

Link copied to clipboard
abstract val level: LogLevel

Extensions

Link copied to clipboard
fun Logger.error(exception: Throwable)

Logs an error from an exception using its message

Link copied to clipboard