You are here

public function WebformSubmissionLogLogger::__construct in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_submission_log/src/WebformSubmissionLogLogger.php \Drupal\webform_submission_log\WebformSubmissionLogLogger::__construct()

WebformSubmissionLog constructor.

Parameters

\Drupal\Core\Logger\LogMessageParserInterface $parser: The log message parser service.

\Drupal\webform_submission_log\WebformSubmissionLogManagerInterface $log_manager: The webform submission log manager.

File

modules/webform_submission_log/src/WebformSubmissionLogLogger.php, line 38

Class

WebformSubmissionLogLogger
Logger that listens for 'webform_submission' channel.

Namespace

Drupal\webform_submission_log

Code

public function __construct(LogMessageParserInterface $parser, WebformSubmissionLogManagerInterface $log_manager) {
  $this->parser = $parser;
  $this->logManager = $log_manager;
}