KLoggable

interface KLoggable

Deprecated

Use KLogger instead

Replace with

import io.github.oshai.kotlinlogging.KLogger
KLogger

An interface representing class with logging capabilities implemented using a logger obtain a logger with logger() method

Inheritors

Properties

Link copied to clipboard
abstract val logger: KLogger

The member that performs the actual logging

Functions

Link copied to clipboard
open fun logger(): KLogger

get logger for the class

open fun logger(name: String): KLogger

get logger by explicit name