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 for formatting short level names via ToString() #74

Merged
merged 1 commit into from
May 11, 2022

Conversation

nblumhardt
Copy link
Member

Fixes #69

This makes the format specifiers accepted for levels consistent between the template syntax {@l:u3} and function-call syntax {ToString(@l, 'u3')}.

@nblumhardt nblumhardt merged commit db073db into serilog:dev May 11, 2022
@nblumhardt nblumhardt mentioned this pull request May 11, 2022
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.

Support level formatting u3 etc. in ToString()
1 participant