Is there something like skip_all_except macro?
#3367
Unanswered
frederikhors
asked this question in
Q&A
Replies: 1 comment
-
|
No, there is no such feature. You will have to work with: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi people!
Using rust and tracing crate like this:
is there a way to skip_all fields except
bwithout adding each field inskip()?Something like:
skip_all_except(b).I tried with:
#[tracing::instrument(skip_all, fields(b))]butbis excluded.Beta Was this translation helpful? Give feedback.
All reactions