You are here

public function LoggerBase::factoryLogEntry in Ultimate Cron 8.2

Factory method for creating a new unsaved log entry object.

Parameters

string $name: Name of the log entry (name of the job).

Return value

LogEntry The log entry.

Overrides LoggerInterface::factoryLogEntry

File

src/Logger/LoggerBase.php, line 28

Class

LoggerBase
Abstract class for Ultimate Cron loggers

Namespace

Drupal\ultimate_cron\Logger

Code

public function factoryLogEntry($name) {
  return new LogEntry($name, $this);
}