public function UltimateCronLogger::loadLatestLogEntries in Ultimate Cron 7.2
Load latest log entry for multiple jobs.
This is the fallback method. Loggers should implement an optimized version if possible.
1 call to UltimateCronLogger::loadLatestLogEntries()
- UltimateCronDatabaseLogger::loadLatestLogEntries in plugins/
ultimate_cron/ logger/ database.class.php - Load latest log entry.
1 method overrides UltimateCronLogger::loadLatestLogEntries()
- UltimateCronDatabaseLogger::loadLatestLogEntries in plugins/
ultimate_cron/ logger/ database.class.php - Load latest log entry.
File
- ./
ultimate_cron.plugin.inc, line 1317 - Plugin framework for Ultimate Cron.
Class
- UltimateCronLogger
- Abstract class for Ultimate Cron loggers.
Code
public function loadLatestLogEntries($jobs, $log_types) {
$logs = array();
foreach ($jobs as $job) {
$logs[$job->name] = $job
->loadLatestLogEntry($log_types);
}
return $logs;
}