Package gay.floof.utils.slf4j

Types

Link copied to clipboard
class Slf4jDelegate(kClass: KClass<*>) : ReadOnlyProperty<Any, Logger>

Implements a ReadOnlyProperty to provide a simple syntax for constructing slf4j loggers.

Functions

Link copied to clipboard
inline fun <T> logging(): Slf4jDelegate

Create a new Slf4jDelegate with T as the reified class.

fun <T : KClass<*>> logging(cls: T): Slf4jDelegate

Create a new Slf4jDelegate property.