Package dev.schlaubi.stdx.logging

Types

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

Generator of a Lazy Log message.

Functions

Link copied to clipboard
expect inline fun <ERROR CLASS>.debugInlined(message: LazyLogMessage)
expect inline fun <ERROR CLASS>.debugInlined(throwable: Throwable, message: LazyLogMessage)

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

actual inline fun <ERROR CLASS>.debugInlined(message: LazyLogMessage)
actual inline fun <ERROR CLASS>.debugInlined(throwable: Throwable, message: LazyLogMessage)

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

Link copied to clipboard
expect inline fun <ERROR CLASS>.errorInlined(message: LazyLogMessage)
expect inline fun <ERROR CLASS>.errorInlined(throwable: Throwable, message: LazyLogMessage)

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

actual inline fun <ERROR CLASS>.errorInlined(message: LazyLogMessage)
actual inline fun <ERROR CLASS>.errorInlined(throwable: Throwable, message: LazyLogMessage)

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

Link copied to clipboard
expect inline fun <ERROR CLASS>.infoInlined(message: LazyLogMessage)
expect inline fun <ERROR CLASS>.infoInlined(throwable: Throwable, message: LazyLogMessage)

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

actual inline fun <ERROR CLASS>.infoInlined(message: LazyLogMessage)
actual inline fun <ERROR CLASS>.infoInlined(throwable: Throwable, message: LazyLogMessage)

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

Link copied to clipboard
expect inline fun <ERROR CLASS>.traceInlined(message: LazyLogMessage)
expect inline fun <ERROR CLASS>.traceInlined(throwable: Throwable, message: LazyLogMessage)

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

actual inline fun <ERROR CLASS>.traceInlined(message: LazyLogMessage)
actual inline fun <ERROR CLASS>.traceInlined(throwable: Throwable, message: LazyLogMessage)

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

Link copied to clipboard
expect inline fun <ERROR CLASS>.warnInlined(message: LazyLogMessage)
expect inline fun <ERROR CLASS>.warnInlined(throwable: Throwable, message: LazyLogMessage)

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

actual inline fun <ERROR CLASS>.warnInlined(message: LazyLogMessage)
actual inline fun <ERROR CLASS>.warnInlined(throwable: Throwable, message: LazyLogMessage)

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