/**
* Set the output level based on the parameters.
*
* This reconfigures both the output level for out()
* and the configured stdout/stderr logging
*
* @return void
*/
protected function _setOutputLevel()
{
$this->_io->setLoggers(ConsoleIo::NORMAL);
if (!empty($this->params['quiet'])) {
$this->_io->level(ConsoleIo::QUIET);
$this->_io->setLoggers(ConsoleIo::QUIET);
}
if (!empty($this->params['verbose'])) {
$this->_io->level(ConsoleIo::VERBOSE);
$this->_io->setLoggers(ConsoleIo::VERBOSE);
}
}