Logger

fun Logger(name: String): Logger
fun Logger(clazz: KClass<out Any>): Logger

Convenience method for LoggerFactory.getLogger.


inline fun <T : Any> Logger(): Logger

Convenience method for LoggerFactory.getLogger with a static type.


fun Logger(clazz: KClass<out Any>, transform: (String) -> String? = null): Logger

Convenience method for retrieving the SLF4JLogger for a type.

Parameters

clazz

Class to create the logger for.

transform

Transformation for modifying the Logger name.