Module json_subscriber::fmt 
source · Expand description
This module only provides compatibility with tracing-subscriber. The methods here are just
copies that only use different types for the Subscriber and SubscriberBuilder.
Structs§
- A
Layerthat logs JSON formatted representations oftracingevents. - A type that can be used to create a
Subscriberwhich collects tracing spans and events and emits them in JSON. - Configures and constructs
Subscribers. 
Functions§
- Returns a new
SubscriberBuilderfor configuring a json formatting subscriber. - Install a global tracing subscriber that listens for events and filters based on the value of the
RUST_LOGenvironment variable. - Returns a new json formatting layer that can be composed with other layers to construct a
Subscriber. - Install a global tracing subscriber that listens for events and filters based on the value of the
RUST_LOGenvironment variable, if one is not already set.