Trait tracing_log::env_logger::BuilderExt
source · pub trait BuilderExt: Sealed {
// Required method
fn emit_traces(&mut self) -> &mut Self;
}
👎Deprecated since 0.1.4: use
tracing-subscriber
’s fmt::Subscriber
insteadAvailable on crate feature
env_logger
only.Expand description
Extension trait to configure an env_logger::Builder
to emit traces.
Required Methods§
sourcefn emit_traces(&mut self) -> &mut Self
fn emit_traces(&mut self) -> &mut Self
👎Deprecated since 0.1.4: use
tracing-subscriber
’s fmt::Subscriber
insteadConfigure 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
impl BuilderExt for Builder
source§fn emit_traces(&mut self) -> &mut Self
fn emit_traces(&mut self) -> &mut Self
👎Deprecated since 0.1.4: use
tracing-subscriber
’s fmt::Subscriber
instead