Package-level declarations

Types

Link copied to clipboard
expect interface Logger
actual interface Logger
actual typealias Logger = org.slf4j.Logger
actual interface Logger
Link copied to clipboard

Properties

Link copied to clipboard

Functions

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

Logs an error from an exception using its message

Link copied to clipboard
expect fun KtorSimpleLogger(name: String): Logger
actual fun KtorSimpleLogger(name: String): Logger
actual fun KtorSimpleLogger(name: String): Logger
actual fun KtorSimpleLogger(name: String): Logger
Link copied to clipboard
inline fun Logger.trace(message: () -> String)

Check isTraceEnabled flag before logging to save some memory allocations.