Skip to content

[Logger] Use Monolog\LogRecord object instead of array for log processor #17454

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

Merged
merged 1 commit into from
Nov 25, 2022

Conversation

94noni
Copy link
Contributor

@94noni 94noni commented Nov 22, 2022

Leverage new monolog as log records object (monolog >= v3) https://github.com/Seldaek/monolog/releases/tag/3.0.0

if we decide to keep the array (monolog <= v2), how can we document this? with inline comments ? with 2 code block?

see also https://packagist.org/packages/monolog/monolog/php-stats#3.0 that is why I target sf 6.1+

thx

@94noni 94noni changed the title Update processors.rst Use Monolog\LogRecord object instead of array Nov 22, 2022
@94noni 94noni changed the title Use Monolog\LogRecord object instead of array Use Monolog\LogRecord object instead of array for log processor Nov 23, 2022
@carsonbot carsonbot changed the title Use Monolog\LogRecord object instead of array for log processor [Logger] Use Monolog\LogRecord object instead of array for log processor Nov 25, 2022
@javiereguiluz javiereguiluz added this to the 6.1 milestone Nov 25, 2022
@javiereguiluz
Copy link
Member

I didn't know about this. Antoine, thanks for this contribution and for the detailed explanation.

@javiereguiluz javiereguiluz merged commit 3a76000 into symfony:6.1 Nov 25, 2022
@94noni 94noni deleted the patch-11 branch November 25, 2022 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants