ExceptionLoggingSubscriber

Log exceptions without further handling.

Hierarchy

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.
doc_Drupal
2016-10-29 09:09:23
Comments
Leave a Comment

Please login to continue.