class

Tracing::FmtFormat::DefaultFormatEvent

Inherits Tracing::FmtFormat::FormatEvent < Reference < Object

Default event formatter — writes human-readable single-line logs.

Ported from upstream tracing_subscriber::fmt::format::Full.

Constructors

new(show_target : Bool = false, show_level : Bool = true, compact_mode : Bool = false, pretty_mode : Bool = false, use_ansi : Bool = false, timer : FmtTime::FormatTime | Nil = nil, show_thread_ids : Bool = false, show_thread_names : Bool = false)
Source

Instance methods

format_event(ctx : FmtContext, writer : Writer, event : Core::Event) : Nil

ameba:disable Metrics/CyclomaticComplexity

Source