You are here

public function SalesforceLoggerSubscriber::__construct in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 modules/salesforce_logger/src/EventSubscriber/SalesforceLoggerSubscriber.php \Drupal\salesforce_logger\EventSubscriber\SalesforceLoggerSubscriber::__construct()
  2. 5.0.x modules/salesforce_logger/src/EventSubscriber/SalesforceLoggerSubscriber.php \Drupal\salesforce_logger\EventSubscriber\SalesforceLoggerSubscriber::__construct()

Create a new Salesforce Logger Subscriber.

Parameters

\Psr\Log\LoggerInterface $logger: The logger.

File

modules/salesforce_logger/src/EventSubscriber/SalesforceLoggerSubscriber.php, line 34

Class

SalesforceLoggerSubscriber
Class SalesforceLoggerSubscriber.

Namespace

Drupal\salesforce_logger\EventSubscriber

Code

public function __construct(LoggerInterface $logger) {
  $this->logger = $logger;
}