private function updateLevel()
{
if (null === $this->output || OutputInterface::VERBOSITY_QUIET === ($verbosity = $this->output->getVerbosity())) {
return false;
}
if (isset($this->verbosityLevelMap[$verbosity])) {
$this->setLevel($this->verbosityLevelMap[$verbosity]);
} else {
$this->setLevel(Logger::DEBUG);
}
return true;
}