Tracing::Not
Inherits Tracing::Layer < Reference < Object
Inverts the wrapped filter's enabled? and callsite Interest.
Constructors
new(a : Layer)
SourceInstance methods
Returns true if this layer would enable the given metadata.
on_close(id : Core::Span::Id, ctx : LayerContext) : Nil
Called immediately before a span is closed and removed from the registry.
on_new_span(attrs : Core::Span::Attributes, id : Core::Span::Id, ctx : LayerContext) : Nil
Called when a new span is created.
on_record(id : Core::Span::Id, values : Core::Span::Record, ctx : LayerContext) : Nil
Called when fields are recorded on a span.
on_register_callsite(metadata : Metadata, ctx : LayerContext) : Callsite::Interest
Called when a callsite is registered.