Slf4jLogger

class Slf4jLogger(slf4jLogger: Logger) : SafeLogger

A Logger implementation that delegates to an underlying org.slf4j.Logger.

Constructors

Link copied to clipboard
constructor(slf4jLogger: Logger)

Properties

Link copied to clipboard
open override val name: String

The name of this logger instance.

Functions

Link copied to clipboard
open fun debug(cause: Throwable? = null, msg: () -> String)

Logs a message at the Level.DEBUG level.

Link copied to clipboard
open fun error(cause: Throwable? = null, msg: () -> String)

Logs a message at the Level.ERROR level.

Link copied to clipboard
open fun info(cause: Throwable? = null, msg: () -> String)

Logs a message at the Level.INFO level.

Link copied to clipboard
open override fun log(level: Level, cause: Throwable?, msg: () -> String)

Logs a message at the specified level.

Link copied to clipboard
open fun trace(cause: Throwable? = null, msg: () -> String)

Logs a message at the Level.TRACE level.

Link copied to clipboard
open fun warn(cause: Throwable? = null, msg: () -> String)

Logs a message at the Level.WARN level.