Skip to content

Commit d3a35e8

Browse files
authored
Update channels_handlers.rst
1 parent acc6554 commit d3a35e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logging/channels_handlers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ How to Autowire Logger Channels
178178
Starting from `MonologBundle`_ 3.5 you can autowire different Monolog channels
179179
by type-hinting your service arguments with the following syntax:
180180
``Psr\Log\LoggerInterface $<channel>Logger``. The ``<channel>`` must have been
181-
:ref:`predefined in your Monolog configuration <monolog-channels-config>`.
181+
:ref:`predefined in your Monolog configuration <monolog-channels-config>` and be in camelCase format.
182182

183183
For example to inject the service related to the ``app`` logger channel,
184184
change your constructor like this:

0 commit comments

Comments
 (0)