Tracing::Layer
Filter combinators — FilterExt::and / ::or / ::not.
Ported from upstream tracing_subscriber::filter::combinator. The Crystal
port collapses Rust's Filter trait into Layer, so these combine layers
used as filters: the combinators combine enabled?, on_register_callsite
(callsite Interest), and max_level_hint, and forward span lifecycle
hooks to the wrapped filter(s).
Instance methods
Combines two filters so a span/event is enabled only if both enable it.
Compose this layer with another, where other acts as a filter.
Returns true if this layer would enable the given metadata.
Called immediately before a span is closed and removed from the registry.
Called when a new span is created.
Called when fields are recorded on a span.
Called when a follows-from relationship is recorded.
Called when a callsite is registered.