👎Deprecated since 0.1.1: moved to
tracing-subscriber::fmt
Expand 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 Event
s
and Span
s by formatting them as text and logging them to stdout.
Modules§
Structs§
- Builder
- Configures and constructs
Subscriber
s. - Context
- Represents the
Subscriber
’s view of the current span context to a formatter. - FmtSubscriber
- A
Subscriber
that logs formatted representations oftracing
events.
Traits§
- Format
Event - A type that can format a tracing
Event
for afmt::Write
. - Make
Writer - A type that can create
io::Write
instances.