You are here

public function ConsoleLogger::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Logger/ConsoleLogger.php \Symfony\Component\Console\Logger\ConsoleLogger::__construct()

Parameters

OutputInterface $output:

array $verbosityLevelMap:

array $formatLevelMap:

File

vendor/symfony/console/Logger/ConsoleLogger.php, line 68

Class

ConsoleLogger
PSR-3 compliant console logger.

Namespace

Symfony\Component\Console\Logger

Code

public function __construct(OutputInterface $output, array $verbosityLevelMap = array(), array $formatLevelMap = array()) {
  $this->output = $output;
  $this->verbosityLevelMap = $verbosityLevelMap + $this->verbosityLevelMap;
  $this->formatLevelMap = $formatLevelMap + $this->formatLevelMap;
}