Skip to content

Commit 060773e

Browse files
committed
[#14422] Minor change in sentence
1 parent 94950fe commit 060773e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

logging/channels_handlers.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,11 @@ How to Autowire Logger Channels
182182

183183
Starting from `MonologBundle`_ 3.5 you can autowire different Monolog channels
184184
by 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

0 commit comments

Comments
 (0)