Skip to content

How to change string value for Level in JSONFormatter? #1456

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

Open
ramytamer opened this issue Mar 24, 2025 · 0 comments
Open

How to change string value for Level in JSONFormatter? #1456

ramytamer opened this issue Mar 24, 2025 · 0 comments

Comments

@ramytamer
Copy link

I have a case where I use the JSONFormatter and I need to log the level value in uppercase (instead of "info" to be "INFO").

Also, for the warning level, I want to change it to warn instead. Is there a straightforward way to do so? If not, can I open a pull request for it?

@ramytamer ramytamer changed the title How to change string value for Levels? How to change string value for Level in JSONFormatter? Mar 24, 2025
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

No branches or pull requests

1 participant