Skip to content

Commit

Permalink
moar links
Browse files Browse the repository at this point in the history
Signed-off-by: Eliza Weisman <[email protected]>
  • Loading branch information
hawkw committed Jul 17, 2019
1 parent ed88682 commit 4851660
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tracing-subscriber/src/layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ where
/// the layer is interested in being notified about the callsite, similarly
/// to [`Subscriber::register_callsite`].
///
/// By default, this returns `Interest::always()` if [`self.enabled`] returns
/// true, or `Interest::never()` if it returns false.
/// By default, this returns [`Interest::always()`] if [`self.enabled`] returns
/// true, or [`Interest::never()`] if it returns false.
///
/// **Note:** This method (and [`Layer::enabled`]) determine whether a
/// span or event is globally enabled, _not_ whether the individual layer
Expand All @@ -99,10 +99,12 @@ where
/// should be run once per callsite. If the layer wishes to use
/// `register_callsite` for per-callsite behaviour, but does not want to
/// globally enable or disable those callsites, it should always return
/// `Interest::always()`.
/// [`Interest::always()`].
///
/// [`Interest`]: https://docs.rs/tracing-core/0.1.1/tracing_core/struct.Interest.html
/// [`Subscriber::register_callsite`]: https://docs.rs/tracing-core/0.1.1/tracing_core/trait.Subscriber.html#method.register_callsite
/// [`Interest::never()`]: https://docs.rs/tracing-core/0.1.1/tracing_core/subscriber/struct.Interest.html#method.never
/// [`Interest::never()`]: https://docs.rs/tracing-core/0.1.1/tracing_core/subscriber/struct.Interest.html#method.always
/// [`self.enabled`]: #method.enabled
/// [`Layer::enabled`]: #method.enabled
/// [`on_event`]: #method.on_event
Expand Down

0 comments on commit 4851660

Please sign in to comment.