function ExceptionLoggingSubscriber::getSubscribedEvents

File

core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php, line 124

Class

ExceptionLoggingSubscriber
Log exceptions without further handling.

Namespace

Drupal\Core\EventSubscriber

Code

public static function getSubscribedEvents() : array {
  $events[KernelEvents::EXCEPTION][] = [
    'onException',
    50,
  ];
  return $events;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.