You are here

public function ConfigUpdateUiDrush8Logger::__construct in Configuration Update Manager 8

Constructs a ConfigUpdateUiDrush8Logger object.

Parameters

\Drupal\Core\Logger\LogMessageParserInterface $parser: The parser to use when extracting message variables. The service logger.log_message_parser is a good choice.

File

config_update_ui/src/Logger/ConfigUpdateUiDrush8Logger.php, line 32

Class

ConfigUpdateUiDrush8Logger
Provides Drush 8 logging in a class.

Namespace

Drupal\config_update_ui\Logger

Code

public function __construct(LogMessageParserInterface $parser) {
  $this->parser = $parser;
}