invoke

abstract operator fun String.invoke(level: Level? = null)

Adds a new message line to this builder via a DSL-style string invocation.

Parameters

level

Optional line-specific log level. Implementations may use it to decorate the line, for example with a severity emoji or another visual marker.