private function video_amazon_s3::watchdog in Video 6.5
Same name and namespace in other branches
- 6.4 plugins/video_s3/video_s3.lib.inc \video_amazon_s3::watchdog()
1 call to video_amazon_s3::watchdog()
- video_amazon_s3::pushFile in plugins/
video_s3/ video_s3.lib.inc
File
- plugins/
video_s3/ video_s3.lib.inc, line 279 - Class file to handle amazon s3 transfers.
Class
Code
private function watchdog($message, $variables = array(), $severity = WATCHDOG_NOTICE, $nid = NULL) {
$link = NULL;
if (is_object($nid)) {
if (isset($nid->nid) && $nid->nid > 0) {
$link = l(t('view node'), 'node/' . intval($nid->nid));
}
}
elseif ($nid > 0) {
$link = l(t('view node'), 'node/' . intval($nid));
}
watchdog('amazon_s3', $message, $variables, $severity, $link);
}