pub struct Pretty { /* private fields */ }
Expand description
An excessively pretty, human-readable event formatter.
Implementations
Sets whether the event’s source code location is displayed.
This defaults to true
.
Trait Implementations
fn format_fields<R: RecordFields>(
&self,
writer: &'writer mut dyn Write,
fields: R
) -> Result
fn format_fields<R: RecordFields>(
&self,
writer: &'writer mut dyn Write,
fields: R
) -> Result
Format the provided fields
to the provided writer
, returning a result.
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