logger

expect fun logger(func: () -> Unit): KLogger

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

val logger = KotlinLogging.logger {}

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

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

val logger = KotlinLogging.logger {}

actual fun logger(name: String): KLogger
fun logger(underlyingLogger: Logger): KLogger
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:

val logger = KotlinLogging.logger {}
actual fun logger(func: () -> Unit): KLogger

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

val logger = KotlinLogging.logger {}

actual fun logger(name: String): KLogger