Skip to content

Implicity calling the setLogger method #164

@xocasdashdash

Description

@xocasdashdash

Hi,

I've been using this bundle for a while and I've been wondering about something. When you tag a service with the monolog.logger tag you have to add to the service definition the method call to setLogger with the logger service so it can replace it with the correct channel one.
Would you be open to a PR to add support to using reflection to add the call to setLogger if the class has the method setLogger (or implements the LoggerInterface) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions