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\EventSubscriber

Code

public function __construct(LoggerChannelFactoryInterface $logger) {
  $this->logger = $logger;
}
doc_Drupal
2016-10-29 09:09:24
Comments
Leave a Comment

Please login to continue.