Trait tracing_log::env_logger::BuilderExt
source · [−]pub trait BuilderExt: Sealed {
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
fn 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.