You are here

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

Log to ultimate cron logs only.

See also

watchdog()

File

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

Class

UltimateCronLogger
Abstract class for Ultimate Cron loggers.

Code

public static final function log($type, $message, $variables = array(), $severity = WATCHDOG_NOTICE, $link = NULL) {
  if (self::$log_entries) {
    foreach (self::$log_entries as $log_entry_object) {
      $log_entry_object
        ->log($type, $message, $variables, $severity, $link);
    }
  }
}