Skip to content

Commit

Permalink
Added an example for a different method of verbosity level usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
smatyas committed Jun 28, 2016
1 parent 09a3381 commit 58f0f09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/console/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ level. For example::
$output->writeln(...);
}

// alternatively you can pass the verbosity level to writeln()
$output->writeln('...', OutputInterface::VERBOSITY_VERBOSE);

There are also more semantic methods you can use to test for each of the
verbosity levels::

Expand Down

0 comments on commit 58f0f09

Please sign in to comment.