Skip to content

Set custom logger #287

Closed
Closed
@kaanbasal

Description

@kaanbasal

$extensions = [new LoggerExtension(new ConsoleLogger($output))];

I am trying to set my custom logger which implements and registered for LoggerInterface, using LoggerExtension but because of this line is setting logger it gives me this error:
The logger modification is not allowed

Can you please explain how can I set my custom logger?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions