public function ExceptionLoggingSubscriber::__construct
public ExceptionLoggingSubscriber::__construct(LoggerChannelFactoryInterface $logger)
Constructs a new ExceptionLoggingSubscriber.
Parameters
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger: The logger channel factory.
File
- core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php, line 30
Class
- ExceptionLoggingSubscriber
- Log exceptions without further handling.
Namespace
Drupal\Core\EventSubscriberCode
public function __construct(LoggerChannelFactoryInterface $logger) { $this->logger = $logger; }
© 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/function/ExceptionLoggingSubscriber::__construct/8.1.x