You are here

public function UltimateCronLogger::factoryLogEntry in Ultimate Cron 7.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

UltimateCronLogEntry The log entry.

File

./ultimate_cron.plugin.inc, line 1178
Plugin framework for Ultimate Cron.

Class

UltimateCronLogger
Abstract class for Ultimate Cron loggers.

Code

public function factoryLogEntry($name) {
  return new $this->log_entry_class($name, $this);
}