Package-level declarations

Functions

Link copied to clipboard
inline fun Logger.debug(msgSupplier: () -> String)
inline fun Logger.debug(throwable: Throwable, msgSupplier: () -> String)

Inlined helper logging only if debug is enabled.

Link copied to clipboard
inline fun Logger.error(msgSupplier: () -> String)
inline fun Logger.error(throwable: Throwable, msgSupplier: () -> String)

Inlined helper logging only if error is enabled.

Link copied to clipboard
inline fun Logger.info(msgSupplier: () -> String)
inline fun Logger.info(throwable: Throwable, msgSupplier: () -> String)

Inlined helper logging only if info is enabled.

Link copied to clipboard
fun <R : Any> R.loggerFactory(): Lazy<Logger>

Creates a Logger with the current javaClass using a delegate property pattern. Usage: val logger by loggerFactory()

Link copied to clipboard
inline fun Logger.trace(msgSupplier: () -> String)
inline fun Logger.trace(throwable: Throwable, msgSupplier: () -> String)

Inlined helper logging only if trace is enabled.

Link copied to clipboard
inline fun Logger.warn(msgSupplier: () -> String)
inline fun Logger.warn(throwable: Throwable, msgSupplier: () -> String)

Inlined helper logging only if warn is enabled.