builder

Function builder 

Source
pub fn builder() -> SubscriberBuilder<DefaultFields, Format<Full>, LevelFilter, fn() -> Stderr>
Expand description

Creates a default subscriber builder that outputs logs to stderr.

Unlike tracing_subscriber::fmt::SubscriberBuilder, which writes to stdout by default, this builder is configured to write to stderr.

The tracing-log feature is enabled by default, allowing you to seamlessly use both tracing and log crates together.

ยงExample

ts_init::builder().init();