KotlinLogging

actual object KotlinLogging
actual object KotlinLogging
actual object KotlinLogging
expect object KotlinLogging

Functions

Link copied to clipboard
actual fun logger(func: () -> Unit): KLogger

This method allows defining the logger in a file in the following way:

actual fun logger(name: String): KLogger
actual fun logger(func: () -> Unit): KLogger

This method allow defining the logger in a file in the following way:

actual fun logger(name: String): KLogger
actual fun logger(func: () -> Unit): KLogger

This method allow defining the logger in a file in the following way:

actual fun logger(name: String): KLogger
expect fun logger(func: () -> Unit): KLogger

This method allow defining the logger in a file in the following way:

expect fun logger(name: String): KLogger

Extensions

Link copied to clipboard
fun KotlinLogging.logger(underlyingLogger: Logger): KLogger