function _notifications_log in Notifications 6
Quick logging for debugging and manual queue processing
1 call to _notifications_log()
- notifications_log in ./
notifications.module - Short hand for info logs
File
- ./
notifications.module, line 1753 - Notifications module
Code
function _notifications_log($type, $message = NULL, $variables = NULL, $severity = WATCHDOG_NOTICE) {
static $logs;
if ($message) {
$logs[] = array(
$type,
$message,
$variables,
$severity,
);
}
else {
return $logs ? array_map('_notifications_log_format', $logs) : '';
}
}