• Home
  • Raw
  • Download

Lines Matching full:subscriber

10 /// Extension trait adding utility methods for subscriber initialization.
13 /// [default subscriber] more ergonomic. It is automatically implemented for all
15 /// implements `From<T>` for all `T: Subscriber`, all `Subscriber`
17 /// can be converted into `Subscriber`s, such as builders that construct a
18 /// `Subscriber`, may implement `Into<Dispatch>`, and will also receive an
21 /// [default subscriber]: https://docs.rs/tracing/0.1.21/tracing/dispatcher/index.html#setting-the-…
27 /// Sets `self` as the [default subscriber] in the current scope, returning a
31 /// a [`log`] compatibility layer. This allows the subscriber to consume
34 …/// [default subscriber]: https://docs.rs/tracing/0.1.21/tracing/dispatcher/index.html#setting-the…
45 /// Attempts to set `self` as the [global default subscriber] in the current
49 /// initialize a [`log`] compatibility layer. This allows the subscriber to
52 /// This method returns an error if a global default subscriber has already
56 …/// [global default subscriber]: https://docs.rs/tracing/0.1.21/tracing/dispatcher/index.html#sett…
61 // Since we are setting the global default subscriber, we can in try_init()
68 // subscriber, so that we get its max level hint. in try_init()
76 /// Attempts to set `self` as the [global default subscriber] in the current
80 /// initialize a [`log`] compatibility layer. This allows the subscriber to
83 /// This method panics if a global default subscriber has already been set,
87 …/// [global default subscriber]: https://docs.rs/tracing/0.1.21/tracing/dispatcher/index.html#sett…
91 .expect("failed to set global default subscriber") in init()
97 /// Error returned by [`try_init`](SubscriberInitExt::try_init) if a global default subscriber coul…
143 f.write_str("failed to set global default subscriber") in fmt()