Log exceptions without further handling.
Hierarchy
- class \Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber implements EventSubscriberInterface
File
- core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php, line 15
Namespace
Drupal\Core\EventSubscriber
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ExceptionLoggingSubscriber::$logger | protected | property | The logger channel factory. |
ExceptionLoggingSubscriber::getSubscribedEvents | public static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
ExceptionLoggingSubscriber::on403 | public | function | Log 403 errors. |
ExceptionLoggingSubscriber::on404 | public | function | Log 404 errors. |
ExceptionLoggingSubscriber::onError | public | function | Log not-otherwise-specified errors, including HTTP 500. |
ExceptionLoggingSubscriber::onException | public | function | Log all exceptions. |
ExceptionLoggingSubscriber::__construct | public | function | Constructs a new ExceptionLoggingSubscriber. |
Please login to continue.