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

Add support for constant attributes #2

Merged
merged 1 commit into from Sep 14, 2023

Conversation

danielbcorreia
Copy link
Contributor

This allow crate users to add their own constant attributes which are included in every log message.
Since tracing doesn't apparently provide such a feature, the recommendation is to implement it at the format_event level, so we might as well include it in these types of crates as a configuration feature.

tokio-rs/tracing#1531

Update example to reflect changes.
@gsson gsson merged commit fd2ef2f into gsson:main Sep 14, 2023
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