|
30 | 30 | //! ## Spans
|
31 | 31 | //!
|
32 | 32 | //! To record the flow of execution through a program, `tracing` introduces the
|
33 |
| -//! concept of [spans][span]. Unlike a log line that represents a _moment in |
| 33 | +//! concept of [spans]. Unlike a log line that represents a _moment in |
34 | 34 | //! time_, a span represents a _period of time_ with a beginning and an end. When a
|
35 | 35 | //! program begins executing in a context or performing a unit of work, it
|
36 | 36 | //! _enters_ that context's span, and when it stops executing in that context,
|
|
817 | 817 | //! long as doing so complies with this policy.
|
818 | 818 | //!
|
819 | 819 | //! [`log`]: https://docs.rs/log/0.4.6/log/
|
820 |
| -//! [span]: span/index.html |
821 |
| -//! [`Span`]: span/struct.Span.html |
822 |
| -//! [`in_scope`]: span/struct.Span.html#method.in_scope |
823 |
| -//! [`Event`]: struct.Event.html |
824 |
| -//! [event]: struct.Event.html |
825 |
| -//! [`Subscriber`]: subscriber/trait.Subscriber.html |
826 |
| -//! [Subscriber::event]: subscriber/trait.Subscriber.html#tymethod.event |
827 |
| -//! [`enter`]: subscriber/trait.Subscriber.html#tymethod.enter |
828 |
| -//! [`exit`]: subscriber/trait.Subscriber.html#tymethod.exit |
829 |
| -//! [`enabled`]: subscriber/trait.Subscriber.html#tymethod.enabled |
830 |
| -//! [metadata]: struct.Metadata.html |
831 |
| -//! [`field::display`]: field/fn.display.html |
832 |
| -//! [`field::debug`]: field/fn.debug.html |
833 |
| -//! [`set_global_default`]: subscriber/fn.set_global_default.html |
834 |
| -//! [`with_default`]: subscriber/fn.with_default.html |
| 820 | +//! [span]: mod@span |
| 821 | +//! [spans]: mod@span |
| 822 | +//! [`Span`]: span::Span |
| 823 | +//! [`in_scope`]: span::Span::in_scope |
| 824 | +//! [event]: Event |
| 825 | +//! [events]: Event |
| 826 | +//! [`Subscriber`]: subscriber::Subscriber |
| 827 | +//! [Subscriber::event]: subscriber::Subscriber::event |
| 828 | +//! [`enter`]: subscriber::Subscriber::enter |
| 829 | +//! [`exit`]: subscriber::Subscriber::exit |
| 830 | +//! [`enabled`]: subscriber::Subscriber::enabled |
| 831 | +//! [metadata]: Metadata |
| 832 | +//! [`field::display`]: field::display |
| 833 | +//! [`field::debug`]: field::debug |
| 834 | +//! [`set_global_default`]: subscriber::set_global_default |
| 835 | +//! [`with_default`]: subscriber::with_default |
835 | 836 | //! [`tokio-rs/tracing`]: https://github.com/tokio-rs/tracing
|
836 | 837 | //! [`tracing-futures`]: https://crates.io/crates/tracing-futures
|
837 | 838 | //! [`tracing-subscriber`]: https://crates.io/crates/tracing-subscriber
|
|
844 | 845 | //! [instrument]: https://docs.rs/tracing-attributes/latest/tracing_attributes/attr.instrument.html
|
845 | 846 | //! [flags]: #crate-feature-flags
|
846 | 847 | #![cfg_attr(not(feature = "std"), no_std)]
|
847 |
| -#![cfg_attr(docsrs, feature(doc_cfg))] |
| 848 | +#![cfg_attr(docsrs, feature(doc_cfg), deny(broken_intra_doc_links))] |
848 | 849 | #![doc(html_root_url = "https://docs.rs/tracing/0.1.20")]
|
849 | 850 | #![doc(
|
850 | 851 | html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
|
|
0 commit comments