KotlinLogging

object KotlinLogging

Functions

equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
logger
Link copied to clipboard

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

val logger = KotlinLogging.logger {}

common
fun logger(func: () -> Unit): KLogger
fun logger(name: String): KLogger
fun logger(name: String): KLogger
fun logger(underlyingLogger: Logger): KLogger
toString
Link copied to clipboard
common
open override fun toString(): String