You are here

final public static function UltimateCronLogger::hook_watchdog in Ultimate Cron 7.2

Invoke loggers watchdog hooks.

Parameters

array $log_entry: Watchdog log entry array.

1 call to UltimateCronLogger::hook_watchdog()
ultimate_cron_watchdog in ./ultimate_cron.module
Implements hook_watchdog().

File

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

Class

UltimateCronLogger
Abstract class for Ultimate Cron loggers.

Code

public static final function hook_watchdog(array $log_entry) {
  if (self::$log_entries) {
    foreach (self::$log_entries as $log_entry_object) {
      $log_entry_object
        ->watchdog($log_entry);
    }
  }
}