Closed
Description
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']