currentLogger

fun currentLogger(): KLogger(source)

Returns the KLogger for the class which calls this method.

If the logger is in a Companion object, or in a closure, it will be unwrapped into its enclosing class.