Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmt: Support disabling the target in formatted output #594

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Feb 21, 2020

This PR adds support for disabling level in formatted output.

Fixes: #592

@Kobzol Kobzol requested a review from hawkw February 21, 2020 20:52
Copy link
Member

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good to me.

It looks like the CI failure is due to RustDoc link resolution issues, these don't seem to be in the code added in this PR. Since we build docs against nightly Rust, my guess is that something changed on nightly (possibly a regression?) and broke the RustDoc. I'll try to finish that separately, since it's not caused by these changes, and I'll merge this once CI is green.

Thanks again for your contribution!

@hawkw
Copy link
Member

hawkw commented Feb 21, 2020

Okay, fixed the docs build error. I'm going to go ahead and merge this now. Thanks again!

@hawkw hawkw merged commit a457c98 into tokio-rs:master Feb 21, 2020
@Kobzol Kobzol deleted the with-level branch February 21, 2020 23:19
LucioFranco added a commit that referenced this pull request Feb 27, 2020
Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
hawkw pushed a commit that referenced this pull request Feb 28, 2020
### Added

- **fmt**: Added `flatten_event` to `SubscriberBuilder` (#599)
- **fmt**: Added `with_level` to `SubscriberBuilder` (#594)

Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support disabling the level in formatted output
2 participants