mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[GH-ISSUE #1366] JsonFormatter is not making usage of JsonSerializable #573
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#573
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @carusogabriel on GitHub (Aug 28, 2019).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1366
In #1309, the
src/Monolog/Formatter/NormalizerFormatter.phpclass received an improvement in the case that the exception class implements theJsonSerializableinterface, it would use theJsonSerializable::jsonSerializemethod.During some tests with Monolog 2 Beta 2, it looks like the
src/Monolog/Formatter/JsonFormatter.phpclass is not making usage of that improvement in thenormalizeExceptionmethod.Should we port the changes to
JsonFormatteras well, or is something else that we need to fix?