1 | //! The `tracing-subscriber` prelude. |
2 | //! |
3 | //! This brings into scope a number of extension traits that define methods on |
4 | //! types defined here and in other crates. |
5 | |
6 | pub use crate::field::{ |
7 | MakeExt as __tracing_subscriber_field_MakeExt, |
8 | RecordFields as __tracing_subscriber_field_RecordFields, |
9 | }; |
10 | pub use crate::layer::{ |
11 | Layer as __tracing_subscriber_Layer, SubscriberExt as __tracing_subscriber_SubscriberExt, |
12 | }; |
13 | |
14 | pub use crate::util::SubscriberInitExt as _; |
15 | |
16 | feature! { |
17 | #![all(feature = "fmt" , feature = "std" )] |
18 | pub use crate::fmt::writer::MakeWriterExt as _; |
19 | } |
20 | |