You are here

public function UltimateCronJob::loadLatestLogEntry in Ultimate Cron 7.2

Load latest log.

Return value

UltimateCronLogEntry The latest log entry for this job.

File

./ultimate_cron.job.inc, line 520
Job class for Ultimate Cron.

Class

UltimateCronJob
Class for handling cron jobs.

Code

public function loadLatestLogEntry($log_types = array(
  ULTIMATE_CRON_LOG_TYPE_NORMAL,
)) {
  return $this
    ->getPlugin('logger')
    ->load($this->name, NULL, $log_types);
}