44How to Configure Monolog to Display Console Messages
55====================================================
66
7- ..versionadded ::2.3
8- This feature was introduced to the MonologBundle in version 2.4, which
9- was first packaged with Symfony at version 2.4 (but compatible with Symfony 2.3).
7+ ..versionadded ::2.4
8+ This feature was introduced to the MonologBridge in Symfony 2.4.
109
11- It is possible to use the console to print messages for certain:ref: `verbosity-levels `
12- using the:class: `Symfony\\ Component\\ Console\\ Output\\ OutputInterface `
13- instance that is passed when a command gets executed.
10+ It is possible to use the console to print messages for certain
11+ :ref: `verbosity levels <verbosity-levels >` using the
12+ :class: `Symfony\\ Component\\ Console\\ Output\\ OutputInterface ` instance that
13+ is passed when a command gets executed.
1414
1515When a lot of logging has to happen, it's cumbersome to print information
1616depending on the verbosity settings (``-v ``, ``-vv ``, ``-vvv ``) because the
@@ -32,7 +32,7 @@ For example::
3232 }
3333
3434Instead of using these semantic methods to test for each of the verbosity
35- levels,` MonologBundle `_ 2.4 provides a `ConsoleHandler `_ that listens to
35+ levels,the ` MonologBridge `_ provides a `ConsoleHandler `_ that listens to
3636console events and writes log messages to the console output depending on the
3737current log level and the console verbosity.
3838
@@ -96,8 +96,9 @@ With the ``verbosity_levels`` option you can adapt the mapping between
9696verbosity and log level. In the given example it will also show notices in
9797normal verbosity mode (instead of warnings only). Additionally, it will only
9898use messages logged with the custom ``my_channel `` channel and it changes the
99- display style via a custom formatter. See also the:doc: `reference/configuration/monolog `
100- for more information:
99+ display style via a custom formatter (see the
100+ :doc: `MonologBundle reference </reference/configuration/monolog >` for more
101+ information):
101102
102103..configuration-block ::
103104
@@ -180,4 +181,4 @@ for more information:
180181 ;
181182
182183 .. _ConsoleHandler :https://github.com/symfony/MonologBridge/blob/master/Handler/ConsoleHandler.php
183- .._ MonologBundle :https://github.com/symfony/MonologBundle
184+ .._ MonologBridge :https://github.com/symfony/MonologBridge