LogRecordBuilder

Construct a logging record that can be emitted to an underlying logger.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun emit()

Emit this event to the underlying logger

Link copied to clipboard
abstract fun setCause(ex: Throwable)

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

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

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

Link copied to clipboard
abstract fun setMessage(message: MessageSupplier)

Set a log message supplier

abstract fun setMessage(message: String)

Set the log message