public __construct ( Symfony\Component\Console\Output\OutputInterface $output = null, boolean $bubble = true, array $verbosityLevelMap = [] ) | ||
$output | Symfony\Component\Console\Output\OutputInterface | The console output to use (the handler remains disabled when passing null until the output is set, e.g. by using console events) |
$bubble | boolean | Whether the messages that are handled can bubble up the stack |
$verbosityLevelMap | array | Array that maps the OutputInterface verbosity to a minimum logging level (leave empty to use the default mapping) |
public function __construct(OutputInterface $output = null, $bubble = true, array $verbosityLevelMap = array())
{
parent::__construct(Logger::DEBUG, $bubble);
$this->output = $output;
if ($verbosityLevelMap) {
$this->verbosityLevelMap = $verbosityLevelMap;
}
}