Lines Matching +full:bare +full:- +full:events
4 //! scoped, structured, and async-aware diagnostics. The [`Subscriber`] trait
7 //! behaviour, and batteries-included implementations of common subscriber
10 //! `tracing-subscriber` is intended for use by both `Subscriber` authors and
15 //! [msrv]: #supported-rust-versions
19 //! The most important component of the `tracing-subscriber` API is the
30 //! spans and events are recorded by a particular layer. This allows different
32 //! program. See the [documentation on per-layer filtering][plf] for more
36 //! [composed together]: crate::layer#composing-layers
39 //! [plf]: crate::layer#per-layer-filtering
45 //! - [`fmt`] - Formats and logs tracing data (requires the `fmt` feature flag)
49 //! - `std`: Enables APIs that depend on the Rust standard library
51 //! - `alloc`: Depend on [`liballoc`] (enabled by "std").
52 //! - `env-filter`: Enables the [`EnvFilter`] type, which implements filtering
54 //! - `fmt`: Enables the [`fmt`] module, which provides a subscriber
55 //! implementation for printing formatted representations of trace events.
57 //! - `ansi`: Enables `fmt` support for ANSI terminal colors. Enabled by
59 //! - `registry`: enables the [`registry`] module. Enabled by default.
61 //! - `json`: Enables `fmt` support for JSON output. In JSON output, the ANSI
63 //! - `local-time`: Enables local time formatting when using the [`time`
70 //! - [`tracing-log`]: Enables better formatting for events emitted by `log`
72 //! - [`time`][`time` crate]: Enables support for using the [`time` crate] for timestamp
74 //! - [`smallvec`]: Causes the `EnvFilter` type to use the `smallvec` crate (rather
76 //! - [`parking_lot`]: Use the `parking_lot` crate's `RwLock` implementation
81 //! In embedded systems and other bare-metal applications, `tracing` can be
83 //! disabled. Although most of the APIs provided by `tracing-subscriber`, such
96 //! tracing-subscriber = { version = "0.3", default-features = false }
104 //! tracing-subscriber = { version = "0.3", default-features = false, features = ["alloc"] }
110 //! releases. To enable these features, the `--cfg tracing_unstable` must be passed to
124 //! RUSTFLAGS="--cfg tracing_unstable" cargo build
131 //! rustflags = ["--cfg", "tracing_unstable"]
134 //! [feature flags]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-features-section
156 //! [`tracing-log`]: https://crates.io/crates/tracing-log
161 //! [`liballoc`]: https://doc.rust-lang.org/alloc/index.html
162 //! [`libstd`]: https://doc.rust-lang.org/std/index.html
164 … html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
165 issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
173 // Fail the docs build if any intra-docs links are broken
232 #![all(feature = "env-filter", feature = "std")]
243 pub fn registry() -> Registry {