pretty

fun pretty(showEmoji: Boolean, includeTimestamp: Boolean = false, includeThread: Boolean = false, prettyPrint: Boolean = true): LogEventFormatter(source)

Returns a formatter that produces a detailed, human-readable output with optional timestamp, thread name, and pretty-printed attributes and context.

Parameters

showEmoji

Whether to prefix the line with the level's emoji indicator.

includeTimestamp

Whether to include the event timestamp.

includeThread

Whether to include the thread name.

prettyPrint

Whether to format attributes and context as indented multi-line blocks (true) or as a compact inline string (false).