Struct tracing_subscriber::fmt::format::Pretty [−][src]
pub struct Pretty { /* fields omitted */ }
This is supported on crate features
fmt
and std
only.Expand description
An excessively pretty, human-readable event formatter.
Implementations
This is supported on crate feature ansi
only.
This is supported on crate feature
ansi
only.Sets whether the event’s source code location is displayed.
This defaults to true
.
Trait Implementations
Format the provided fields
to the provided Writer
, returning a result.
fn add_fields(
&self,
current: &'writer mut FormattedFields<Self>,
fields: &Record<'_>
) -> Result
fn add_fields(
&self,
current: &'writer mut FormattedFields<Self>,
fields: &Record<'_>
) -> Result
Record additional field(s) on an existing span. Read more
Auto Trait Implementations
impl RefUnwindSafe for Pretty
impl UnwindSafe for Pretty
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more