class ExceptionLoggingSubscriber
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\EventSubscriberMembers
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. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!ExceptionLoggingSubscriber.php/class/ExceptionLoggingSubscriber/8.1.x