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 the ability to skip fields #25

Merged
merged 3 commits into from
Jan 8, 2023
Merged

Add the ability to skip fields #25

merged 3 commits into from
Jan 8, 2023

Conversation

vrischmann
Copy link
Contributor

Issue #, if available: #16

Description of changes:

This PR adds the ability to skip fields in the output of the BunyanFormattingLayer. I think this solves issue #16 but I'm not 100% sure.

I wanted this feature myself to skip the fields file, line and target because they're quite spammy and not all that useful for me.
I'm still relatively new to Rust so let me know if anything is obviously bad or wrong.
Note: the first commit is just running cargo fmt to avoid polluting the actual commit with formatting changes.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@LukeMathWalker
Copy link
Owner

Thanks for working on this!
I left a couple of comments - once they are solved we can merge.

@vrischmann
Copy link
Contributor Author

I've addressed your comments in the latest commit. Let me know if there's anything else.

@LukeMathWalker LukeMathWalker merged commit 563b452 into LukeMathWalker:master Jan 8, 2023
@LukeMathWalker
Copy link
Owner

Thank you!

@vrischmann vrischmann deleted the skip-fields branch January 8, 2023 12:32
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