public function LoggerDataCollector::lateCollect in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/DataCollector/LoggerDataCollector.php \Symfony\Component\HttpKernel\DataCollector\LoggerDataCollector::lateCollect()
Collects data as late as possible.
Overrides LateDataCollectorInterface::lateCollect
File
- vendor/
symfony/ http-kernel/ DataCollector/ LoggerDataCollector.php, line 45
Class
- LoggerDataCollector
- LogDataCollector.
Namespace
Symfony\Component\HttpKernel\DataCollectorCode
public function lateCollect() {
if (null !== $this->logger) {
$this->data = $this
->computeErrorsCount();
$this->data['logs'] = $this
->sanitizeLogs($this->logger
->getLogs());
}
}