👎Deprecated since 0.1.1: moved to
tracing-subscriber::fmtExpand description
A Subscriber for formatting and logging tracing data.
Note: This library is now part of the tracing-subscriber crate. This
crate now re-exports its public API from tracing-subscriber. Using
tracing-fmt is now deprecated; users are encouraged to use the APIs in
this library from their new home in tracing-subscriber::fmt.
§Overview
tracing is a framework for instrumenting Rust programs with context-aware,
structured, event-based diagnostic information. This crate provides an
implementation of the Subscriber trait that records tracing’s Events
and Spans by formatting them as text and logging them to stdout.
Modules§
Structs§
- Builder
- Configures and constructs
Subscribers. - Context
- Represents the
Subscriber’s view of the current span context to a formatter. - FmtSubscriber
- A
Subscriberthat logs formatted representations oftracingevents.
Traits§
- Format
Event - A type that can format a tracing
Eventfor afmt::Write. - Make
Writer - A type that can create
io::Writeinstances.