public function ConsoleLoggerTest::getLogger in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/Logger/ConsoleLoggerTest.php \Symfony\Component\Console\Tests\Logger\ConsoleLoggerTest::getLogger()
Return value
LoggerInterface
Overrides LoggerInterfaceTest::getLogger
File
- vendor/
symfony/ console/ Tests/ Logger/ ConsoleLoggerTest.php, line 35
Class
- ConsoleLoggerTest
- Console logger test.
Namespace
Symfony\Component\Console\Tests\LoggerCode
public function getLogger() {
$this->output = new DummyOutput(OutputInterface::VERBOSITY_VERBOSE);
return new ConsoleLogger($this->output, array(
LogLevel::EMERGENCY => OutputInterface::VERBOSITY_NORMAL,
LogLevel::ALERT => OutputInterface::VERBOSITY_NORMAL,
LogLevel::CRITICAL => OutputInterface::VERBOSITY_NORMAL,
LogLevel::ERROR => OutputInterface::VERBOSITY_NORMAL,
LogLevel::WARNING => OutputInterface::VERBOSITY_NORMAL,
LogLevel::NOTICE => OutputInterface::VERBOSITY_NORMAL,
LogLevel::INFO => OutputInterface::VERBOSITY_NORMAL,
LogLevel::DEBUG => OutputInterface::VERBOSITY_NORMAL,
));
}