tracing_subscriber

Module filter

Source
Expand description

Layers that control which spans and events are enabled by the wrapped subscriber.

This module contains a number of types that provide implementations of various strategies for filtering which spans and events are enabled. For details on filtering spans and events using Layers, see the layer module’s documentation.

Re-exports§

  • pub use self::targets::Targets;
    std or alloc

Modules§

Structs§

  • A filter implemented by a closure or function pointer that determines whether a given span or event is enabled dynamically, potentially based on the current span context.
  • A filter implemented by a closure or function pointer that determines whether a given span or event is enabled, based on its Metadata.
  • FilterIdregistry and std
    Uniquely identifies an individual Filter instance in the context of a Subscriber.
  • Filteredregistry and std
    A Layer that wraps an inner Layer and adds a Filter which controls what spans and events are enabled for that layer.
  • A filter comparable to a verbosity Level.
  • Indicates that a string could not be parsed to a valid level.
  • ParseErrorstd or alloc
    Indicates that a string could not be parsed as a filtering directive.

Traits§

Functions§