Skip to content

[Monolog] Autowire Logger Channels #14316

Closed
@reiterth

Description

@reiterth

As described here
https://symfony.com/doc/current/logging/channels_handlers.html#how-to-autowire-logger-channels
this only works if the channel is predefined in

config/packages/*/monolog.yaml

monolog:
    channels: ['autowirechannelname']

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