Skip to content

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.

2 participants