8000 [Monolog Bridge] formatter log pattern override is no more possible · Issue #23290 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Monolog Bridge] formatter log pattern override is no more possible #23290
Closed
@quazardous

Description

@quazardous
Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no
Symfony version 3.3.2

Since the new colored console logs and change of log pattern, it no more possible to easily override log pattern and inject items in the record.

Before it was possible to override the pattern ConsoleFormatter::SIMPLE_FORMAT, push processor to inject what ever data you needed in record and that was all.

Now the formatter calls self::SIMPLE_FORMAT instead of static::SIMPLE_FORMAT and format() just ignore unknown items in $record.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0