KotlinLogging

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

Functions

Link copied to clipboard
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
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
fun logger(underlyingLogger: Logger): 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