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 enum context values to psr formatter #1773

Closed

Conversation

bart-mollie
Copy link
Contributor

This PR adds support for Enums to the PsrLogMessageProcessor.

Currently Enums passed in the context display as [object enum-class-name]. This PR changes this to display the value for BackedEnums and displaying the name for non backed enums.

@Seldaek Seldaek added this to the 2.x milestone Feb 4, 2023
@Seldaek Seldaek added the Feature label Feb 4, 2023
@Seldaek
Copy link
Owner

Seldaek commented Feb 4, 2023

Thanks, merged in 2.x as 8255feb

@Seldaek Seldaek closed this Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants