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

#1686 - Add RFC 5424 support #1723

Merged
merged 2 commits into from
Jul 22, 2022
Merged

#1686 - Add RFC 5424 support #1723

merged 2 commits into from
Jul 22, 2022

Conversation

lussoluca
Copy link
Contributor

No description provided.

@lussoluca lussoluca changed the base branch from main to 2.x July 5, 2022 07:47
@Seldaek Seldaek marked this pull request as ready for review July 22, 2022 14:43
@Seldaek
Copy link
Owner

Seldaek commented Jul 22, 2022

I switched it to handle this in addRecord() and log() exclusively, because doing so in toMonologLevel carried some risk as this is used throughout handlers to allow configuration using level names, and if you pass level 0 for ex to say you want to react to all levels, this worked fine before but it would make things react only on EMERGENCY if toMonologLevel converts 0 to emergency.

Otherwise, look good to me now, thanks!

@Seldaek Seldaek added this to the 2.x milestone Jul 22, 2022
@Seldaek Seldaek merged commit ffd5055 into Seldaek:2.x Jul 22, 2022
@lyrixx lyrixx mentioned this pull request Aug 16, 2022
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