You are here

public function UltimateCronJob::debugLog in Ultimate Cron 7.2

Debug log function for jobs.

Parameters

string $msg: The message to log.

File

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

Class

UltimateCronJob
Class for handling cron jobs.

Code

public function debugLog($msg) {
  $callback = variable_get('ultimate_cron_debug_log_callback', array(
    'UltimateCronJob',
    'debugLogCallback',
  ));
  if (is_callable($callback)) {
    call_user_func($callback, $this, $msg);
  }
}