File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -182,10 +182,11 @@ How to Autowire Logger Channels
182182
183183Starting from `MonologBundle `_ 3.5 you can autowire different Monolog channels
184184by type-hinting your service arguments with the following syntax:
185- ``Psr\Log\LoggerInterface $<channel>Logger ``. The ``<channel> `` must have been
186- predefined in your Monolog configuration.
185+ ``Psr\Log\LoggerInterface $<channel>Logger ``. The ``<channel> `` must have been
186+ :ref: ` predefined in your Monolog configuration < monolog-channels-config >` .
187187
188- An example to inject the service related to the ``app `` logger channel:
188+ For example to inject the service related to the ``app `` logger channel,
189+ change your constructor like this:
189190
190191.. code-block :: diff
191192
You can’t perform that action at this time.
0 commit comments