You are here

public function LoggerDataCollector::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/DataCollector/LoggerDataCollector.php \Symfony\Component\HttpKernel\DataCollector\LoggerDataCollector::__construct()

File

vendor/symfony/http-kernel/DataCollector/LoggerDataCollector.php, line 27

Class

LoggerDataCollector
LogDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function __construct($logger = null) {
  if (null !== $logger && $logger instanceof DebugLoggerInterface) {
    $this->logger = $logger;
  }
}