Skip to content

Commit

Permalink
minor #5442 Improved the explanation about the verbosity levels of th…
Browse files Browse the repository at this point in the history
…e console (javiereguiluz)

This PR was merged into the 2.3 branch.

Discussion
----------

Improved the explanation about the verbosity levels of the console

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | -

Commits
-------

7ca24ed Fixed RST table syntax
0eac43d Reverted an unneeded change
38bc075 Minor reword
bdc5ef2 Improved the explanation about the verbosity levels of the console
  • Loading branch information
weaverryan committed Jul 16, 2015
2 parents 73d4e18 + 7ca24ed commit 277b2e7
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions components/console/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,22 +173,18 @@ Verbosity Levels
The ``VERBOSITY_VERY_VERBOSE`` and ``VERBOSITY_DEBUG`` constants were introduced
in version 2.3

The console has 5 levels of verbosity. These are defined in the
The console has five verbosity levels. These are defined in the
:class:`Symfony\\Component\\Console\\Output\\OutputInterface`:

======================================= ==================================
Mode Value
======================================= ==================================
OutputInterface::VERBOSITY_QUIET Do not output any messages
OutputInterface::VERBOSITY_NORMAL The default verbosity level
OutputInterface::VERBOSITY_VERBOSE Increased verbosity of messages
OutputInterface::VERBOSITY_VERY_VERBOSE Informative non essential messages
OutputInterface::VERBOSITY_DEBUG Debug messages
======================================= ==================================

You can specify the quiet verbosity level with the ``--quiet`` or ``-q``
option. The ``--verbose`` or ``-v`` option is used when you want an increased
level of verbosity.
=========================================== ================================== =====================
Value Meaning Console option
=========================================== ================================== =====================
``OutputInterface::VERBOSITY_QUIET`` Do not output any messages ``-q`` or ``--quiet``
``OutputInterface::VERBOSITY_NORMAL`` The default verbosity level (none)
``OutputInterface::VERBOSITY_VERBOSE`` Increased verbosity of messages ``-v``
``OutputInterface::VERBOSITY_VERY_VERBOSE`` Informative non essential messages ``-vv``
``OutputInterface::VERBOSITY_DEBUG`` Debug messages ``-vvv``
=========================================== ================================== =====================

.. tip::

Expand Down

0 comments on commit 277b2e7

Please sign in to comment.