Package-level declarations

Types

Link copied to clipboard
typealias LazyLogMessage = () -> String

Generator of a Lazy Log message.

Functions

Link copied to clipboard
expect inline fun KLogger.debugInlined(message: LazyLogMessage)
expect inline fun KLogger.debugInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.debug so it can call suspend functions

actual inline fun KLogger.debugInlined(message: LazyLogMessage)
actual inline fun KLogger.debugInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.debug so it can call suspend functions

actual inline fun KLogger.debugInlined(message: LazyLogMessage)
actual inline fun KLogger.debugInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.debug so it can call suspend functions

actual inline fun KLogger.debugInlined(message: LazyLogMessage)
actual inline fun KLogger.debugInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.debug so it can call suspend functions

Link copied to clipboard
expect inline fun KLogger.errorInlined(message: LazyLogMessage)
expect inline fun KLogger.errorInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.error so it can call suspend functions

actual inline fun KLogger.errorInlined(message: LazyLogMessage)
actual inline fun KLogger.errorInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.error so it can call suspend functions

actual inline fun KLogger.errorInlined(message: LazyLogMessage)
actual inline fun KLogger.errorInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.error so it can call suspend functions

actual inline fun KLogger.errorInlined(message: LazyLogMessage)
actual inline fun KLogger.errorInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.error so it can call suspend functions

Link copied to clipboard
expect inline fun KLogger.infoInlined(message: LazyLogMessage)
expect inline fun KLogger.infoInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.info so it can call suspend functions

actual inline fun KLogger.infoInlined(message: LazyLogMessage)
actual inline fun KLogger.infoInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.info so it can call suspend functions

actual inline fun KLogger.infoInlined(message: LazyLogMessage)
actual inline fun KLogger.infoInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.info so it can call suspend functions

actual inline fun KLogger.infoInlined(message: LazyLogMessage)
actual inline fun KLogger.infoInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.info so it can call suspend functions

Link copied to clipboard
fun logger(): KLogger

Creates a KLogger for StackWalker.getCallerClass.

Link copied to clipboard
expect inline fun KLogger.traceInlined(message: LazyLogMessage)
expect inline fun KLogger.traceInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.trace so it can call suspend functions

actual inline fun KLogger.traceInlined(message: LazyLogMessage)
actual inline fun KLogger.traceInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.trace so it can call suspend functions

actual inline fun KLogger.traceInlined(message: LazyLogMessage)
actual inline fun KLogger.traceInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.trace so it can call suspend functions

actual inline fun KLogger.traceInlined(message: LazyLogMessage)
actual inline fun KLogger.traceInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.trace so it can call suspend functions

Link copied to clipboard
expect inline fun KLogger.warnInlined(message: LazyLogMessage)
expect inline fun KLogger.warnInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.warn so it can call suspend functions

actual inline fun KLogger.warnInlined(message: LazyLogMessage)
actual inline fun KLogger.warnInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.warn so it can call suspend functions

actual inline fun KLogger.warnInlined(message: LazyLogMessage)
actual inline fun KLogger.warnInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.warn so it can call suspend functions

actual inline fun KLogger.warnInlined(message: LazyLogMessage)
actual inline fun KLogger.warnInlined(throwable: Throwable, message: LazyLogMessage)

Inline version of KLogger.warn so it can call suspend functions