MessageBuilder

Default implementation of IMessageBuilder providing a simple DSL-based message composition.

Each string literal invoked as a function inside a logging block is appended as a new line. The very first line is treated as a header, subsequent lines are prefixed with "->" for readability.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val D: Level
Link copied to clipboard
open val E: Level
Link copied to clipboard
open val I: Level
Link copied to clipboard
open val V: Level
Link copied to clipboard
open val W: Level

Functions

Link copied to clipboard
open override fun build(): String

Builds and returns the final message combined from all lines.

Link copied to clipboard
open operator override fun String.invoke(level: Level?)