-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support client crates that use the standard Rust log framework instea…
…d of Tokio Tracing. (#465) This PR does this by enabling Tokio Tracing to emit logs if no tracing subscriber is initialized (via the tracing/log feature). Also fixes guards around costly logging to actually emits log events if no tracing subscriber is initialized by using the enabled check of the log crate instead of the enabled check of the tracing crate. See: https://docs.rs/tracing/0.1.41/tracing/#emitting-log-records
- Loading branch information
Showing
5 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters