function background_process_watchdog in Background Process 7.2
Implements hook_watchdog().
File
- ./
background_process.module, line 424
Code
function background_process_watchdog($log = array()) {
if ($process = BackgroundProcess::currentProcess()) {
$log['variables'] = is_array($log['variables']) ? $log['variables'] : array();
$process
->log(t($log['message'], $log['variables']), $log['severity']);
}
}