Repository navigation
Included commits: 3.21.0...3.22.0
Breaking Changes
- Changed
LogProcessorPluginInterface::__invoke()to accept and return\Monolog\LogRecord|arrayinstead of a strictly typed array - custom log processor plugins that type-hintarray $datamust be updated to handleLogRecordobjects under Monolog 3.
Fixes
- Fixed
LevelFlushBufferHandlerto prevent a fatal error under Monolog 3 by resolvingMonolog\Levelenum instances to their integer value. - Fixed
LoggerFactory::createInstanceIfNotExists()to reindex the handler list viaarray_values()before passing it toMonologLogger.
Adjustments
- Adjusted
AuditLogBufferHandler,AuditLogDataCollector,TagFilterBufferedStreamHandler,AbstractQueueHandler, and all built-in processors (EnvironmentProcessor,GuzzleBodyProcessor,RequestProcessor,ResponseProcessor,ServerProcessor,AuditLogMetaDataProcessor) to support both array and\Monolog\LogRecordlog records for Monolog 3 compatibility.