Skip to content

Comments

Make LogLevel a smart enum#163

Merged
TrentHouliston merged 6 commits intomainfrom
houliston/smart-enums
Dec 23, 2024
Merged

Make LogLevel a smart enum#163
TrentHouliston merged 6 commits intomainfrom
houliston/smart-enums

Conversation

@TrentHouliston
Copy link
Member

Makes LogLevel into a smart enum. It can be used as an enum still for most cases, but makes the log API simplier, and also allows setting log levels from strings instead of just enum constants which makes it easier to configure

@TrentHouliston TrentHouliston merged commit 0fb9278 into main Dec 23, 2024
9 of 11 checks passed
@TrentHouliston TrentHouliston deleted the houliston/smart-enums branch December 23, 2024 12:10
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.

1 participant