You are here

public function UltimateCronCacheLogger::getLogEntries in Ultimate Cron 7.2

Get log entries.

Overrides UltimateCronLogger::getLogEntries

File

plugins/ultimate_cron/logger/cache.class.php, line 51
Cache logger for Ultimate Cron.

Class

UltimateCronCacheLogger
Class for using cache as storage for logs.

Code

public function getLogEntries($name, $log_types, $limit = 10) {
  $log_entry = $this
    ->load($name);
  return $log_entry->lid ? array(
    $log_entry,
  ) : array();
}