8000 Update monolog_console.rst · symfony/symfony-docs@a74de75 · GitHub
[go: up one dir, main page]

Skip to content

Commit a74de75

Browse files
authored
Update monolog_console.rst
1 parent e6d543a commit a74de75

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

logging/monolog_console.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ the console. If they are displayed, they are timestamped and colored appropriate
6767
Additionally, error logs are written to the error output (``php://stderr``).
6868
There is no need to conditionally handle the verbosity settings anymore.
6969

70+
=============== ======================================= ============
71+
LoggerInterface Verbosity Command line
72+
=============== ======================================= ============
73+
->error() OutputInterface::VERBOSITY_QUIET stderr
74+
->warning() OutputInterface::VERBOSITY_NORMAL stdout
75+
->notice() OutputInterface::VERBOSITY_VERBOSE -v
76+
->info() OutputInterface::VERBOSITY_VERY_VERBOSE -vv
77+
->debug() OutputInterface::VERBOSITY_DEBUG -vvv
78+
=============== ======================================= ============
79+
7080
The Monolog console handler is enabled by default:
7181

7282
.. configuration-block::

0 commit comments

Comments
 (0)
0