pub struct TracingConfig {
pub default_filter: String,
pub format: TracingFormat,
pub with_target: bool,
pub with_thread_ids: bool,
pub with_thread_names: bool,
}Expand description
Basic tracing configuration for std processes.
Fields§
§default_filter: StringSet via RUST_LOG if present; otherwise this default is used.
format: TracingFormatOutput format.
with_target: boolInclude the event target (Rust module path).
with_thread_ids: boolInclude numeric thread ids.
with_thread_names: boolInclude thread names.
Trait Implementations§
Source§impl Clone for TracingConfig
impl Clone for TracingConfig
Source§fn clone(&self) -> TracingConfig
fn clone(&self) -> TracingConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TracingConfig
impl Debug for TracingConfig
Auto Trait Implementations§
impl Freeze for TracingConfig
impl RefUnwindSafe for TracingConfig
impl Send for TracingConfig
impl Sync for TracingConfig
impl Unpin for TracingConfig
impl UnwindSafe for TracingConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more