private function LoggerDataCollector::sanitizeLogs

1 call to LoggerDataCollector::sanitizeLogs()
LoggerDataCollector::collect in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php
Collects data for the given Request and Response.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php, line 77

Class

LoggerDataCollector
LogDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

private function sanitizeLogs($logs) {
  foreach ($logs as $i => $log) {
    $logs[$i]['context'] = $this
      ->sanitizeContext($log['context']);
  }
  return $logs;
}