-
How can I have different levels for the different modules? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
hawkw
Dec 11, 2022
Replies: 1 comment 1 reply
-
You can do this using a filter that enables different levels for each module you want to see logs from. See https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html for documentation on how to configure this kind of filtering. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ybbh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do this using a filter that enables different levels for each module you want to see logs from. See https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html for documentation on how to configure this kind of filtering.