AbstractLogRecordBuilder

An abstract implementation of a log record builder. By default, this class uses no-op implementations for all members unless overridden in a subclass.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun emit()

Emit this event to the underlying logger

Link copied to clipboard
open override fun setCause(ex: Throwable)

Set an exception associated with this event Some loggers will do additional formatting for exceptions.

Link copied to clipboard
open override fun setKeyValuePair(key: String, value: Any)

Set a key/value pair to associate with this log record

Link copied to clipboard
open override fun setMessage(message: MessageSupplier)

Set a log message supplier

open override fun setMessage(message: String)

Set the log message