Formatter

object Formatter
Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

Concrete fields

A multi-line formatter that includes expanded log information on the first line, and indented and auto-wrapping message and MDC on the following line(s).

A multi-line formatter that includes expanded log information on the first line, and indented and auto-wrapping message and MDC on the following line(s).

lazy val classic: Formatter

A classic logging style including the date, thread name (abbreviated), level, position, message, and MDC

A classic logging style including the date, thread name (abbreviated), level, position, message, and MDC

lazy val colored: Formatter

Only includes the log message and MDC, but the message is colored based on the logging level

Only includes the log message and MDC, but the message is colored based on the logging level

lazy val compact: Formatter

Colored, but more compact output to show more on a single line

Colored, but more compact output to show more on a single line

The default formatter. This is used as a default when the formatter isn't explicitly specified. Defaults to enhanced.

The default formatter. This is used as a default when the formatter isn't explicitly specified. Defaults to enhanced.

A rich log output format with coloring and lots of details. The default format.

A rich log output format with coloring and lots of details. The default format.

lazy val simple: Formatter

Only includes the log message and MDC

Only includes the log message and MDC

lazy val strict: Formatter

A strict format with a focus on consistent width.

A strict format with a focus on consistent width.