pub trait BuilderExt: Sealed {
// Required method
fn emit_traces(&mut self) -> &mut Self;
}Available 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
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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.