feat(log): switch to tracing for logging#163
Conversation
|
Looks great! We only need one change, see #161 (comment) |
|
Codecov ReportAttention: ❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
... and 1 file with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
|
LGTM, just one thing, can you configure tracing subscriber so that the default log level will be |
@orhun Good point. Done in b18610c thanks to https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#method.from_default_env. |
tracing for logging
resolves #161
Description
Only changing
env_loggerintotracing-subscriber. It should support the same configuration withRUST_LOG(and more, if we convert fromlogtotracinglater).Motivation and Context
See #161.
How Has This Been Tested?
Logging are usually not tested. If any test would be needed, could you give some pointers?
Changelog Entry
-->
Types of Changes
Checklist: