You are here

public static function ExceptionLoggingSubscriber::getSubscribedEvents in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php \Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber::getSubscribedEvents()
  2. 10 core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php \Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber::getSubscribedEvents()

File

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

Class

ExceptionLoggingSubscriber
Log exceptions without further handling.

Namespace

Drupal\Core\EventSubscriber

Code

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