Monolog version 3.2.0
When PsrLogMessageProcessor processes message, it returns new instance of LogRecord using code
return $record->with(message: strtr($record->message, $replacements), context: $context);
and inside LogRecord->with there is missing formatted key to be copied over, so if any previous processor set any information inside LogRecord->formatted it will be lost.
Seems like same issue with toArray
Monolog version 3.2.0
When
PsrLogMessageProcessorprocesses message, it returns new instance ofLogRecordusing codeand inside
LogRecord->withthere is missingformattedkey to be copied over, so if any previous processor set any information insideLogRecord->formattedit will be lost.Seems like same issue with
toArray