You are here

public function WatchdogLogger::__construct in Ultimate Cron 8.2

Constructs a WatchdogLogger object.

Parameters

\Drupal\Core\Logger\LogMessageParserInterface $parser: The parser to use when extracting message variables.

File

src/Logger/WatchdogLogger.php, line 45

Class

WatchdogLogger
Logs events in currently running cronjobs.

Namespace

Drupal\ultimate_cron\Logger

Code

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