You are here

public function ConsoleOutput::setVerbosity in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Output/ConsoleOutput.php \Symfony\Component\Console\Output\ConsoleOutput::setVerbosity()

Sets the verbosity of the output.

Parameters

int $level The level of verbosity (one of the VERBOSITY constants):

Overrides Output::setVerbosity

File

vendor/symfony/console/Output/ConsoleOutput.php, line 76

Class

ConsoleOutput
ConsoleOutput is the default class for all CLI output. It uses STDOUT.

Namespace

Symfony\Component\Console\Output

Code

public function setVerbosity($level) {
  parent::setVerbosity($level);
  $this->stderr
    ->setVerbosity($level);
}