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

Format flags #106

Merged
merged 3 commits into from
Aug 23, 2023
Merged

Format flags #106

merged 3 commits into from
Aug 23, 2023

Conversation

nolanderc
Copy link
Contributor

This changes to format output from:

MyFlagType{ .first_bit = true, second_bit = false, _reserved_bit_0 = false, _reserved_bit_1 = false }

to the following:

MyFlagType{ .first_bit }

That is, we only show bits which are true, which reduces noise when logging values.

This changes to format output from:

    MyFlagType{ .first_bit = true, second_bit = false, _reserved_bit_0 = false, _reserved_bit_1 = false }

to the following:

    MyFlagType{ first_bit }

That is, we only show bits which are `true`.
@Snektron Snektron merged commit 348ac5d into Snektron:master Aug 23, 2023
@Snektron
Copy link
Owner

Thanks!

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