🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

Module env_logger

Source
Available on crate feature env_logger only.
Expand description

Utilities for configuring the env_logger crate to emit tracing events.

Traits§

BuilderExt
Extension trait to configure an env_logger::Builder to emit traces.

Functions§

init
Initializes the global logger with an env logger configured to emit tracing events.
try_init
Attempts to initialize the global logger with an env logger configured to emit tracing events.