function ultimate_cron_watchdog in Ultimate Cron 6
Same name and namespace in other branches
- 8 ultimate_cron.module \ultimate_cron_watchdog()
- 7.2 ultimate_cron.module \ultimate_cron_watchdog()
- 7 ultimate_cron.module \ultimate_cron_watchdog()
Implementation of hook_watchdog().
File
- ./
ultimate_cron.module, line 488 - @todo Add filter on overview page. @todo Add log view (with graph). @todo Make proper markup for overview page. @todo Refactor drush stuff, too many intimate relations with Background Process @todo Refactor Cron % offset stuff. Too mixed up and…
Code
function ultimate_cron_watchdog($log = array()) {
$record =& ultimate_cron_static('ultimate_cron_record', FALSE);
if ($record) {
$log['variables'] = is_array($log['variables']) ? $log['variables'] : array();
ultimate_cron_record_log(t($log['message'], $log['variables']), FALSE, $log['severity']);
}
}