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

Implement support for log with tracing-log #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

daxpedda
Copy link

@daxpedda daxpedda commented Jun 29, 2022

This PR implements proper support for log, specifically being able to parse the metadata coming from there appropriately. I learned that from here tokio-rs/tracing#193.

Additionally, I added an option to disable printing any additional fields. tracing_subscriber::fmt::Layer implements this for specific fields, like the target: Layer::with_target.
I instead just added a blanket disable/enable to keep this PR small.

I can split this into two parts if desired.

Copy link
Member

@colelawrence colelawrence left a comment

Choose a reason for hiding this comment

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

Cool addition! Thank you.

@daxpedda
Copy link
Author

@colelawrence friendly ping! Just wanted to make sure you know I don't have merge rights. Are we waiting for a second review?

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.

None yet

2 participants