You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that if you create a formatting layer like this:
let formatting_layer = fmt::layer().with_filter(...);
the filter prevents the collection of filtered events/spans.
What if I want filter out the events/spans only in formatting but I want to keep ALL the span attributes (event for filtered out targets)?
I came up with this solution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I noticed that if you create a formatting layer like this:
the filter prevents the collection of filtered events/spans.
What if I want filter out the events/spans only in formatting but I want to keep ALL the span attributes (event for filtered out targets)?
I came up with this solution.
Is this the right way to do it?
Am I missing something??
Beta Was this translation helpful? Give feedback.
All reactions