pub trait BuilderExt: Sealed {
    // Required method
    fn emit_traces(&mut self) -> &mut Self;
}
👎Deprecated since 0.1.4: use tracing-subscriber’s fmt::Subscriber instead
Available on crate feature env_logger only.
Expand description

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

Required Methods§

source

fn emit_traces(&mut self) -> &mut Self

👎Deprecated since 0.1.4: use tracing-subscriber’s fmt::Subscriber instead

Configure the built env_logger::Logger to emit tracing events for all consumed log records, rather than printing them to standard out.

Note that this replaces any previously configured formatting.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl BuilderExt for Builder

source§

fn emit_traces(&mut self) -> &mut Self

👎Deprecated since 0.1.4: use tracing-subscriber’s fmt::Subscriber instead

Implementors§