Paranoid::Log::Syslog - Log Facility Syslog $Id: Syslog.pm,v 0.6 2008/08/28 06:39:53 acorliss Exp $ use Paranoid::Log::Syslog; $rv = init(); $rv = remove($name); $rv = log($msgtime, $severity, $message, $name, $facility, $level, $scope); Paranoid::Debug Unix::Syslog This modules provides syslog facilities for Paranoid::Log. These modules are typically not meant to be used directly, but through the Paranoid::Log interface only.

init
$rv = init();

remove
$rv = remove(); This closes the logger. This may be pointless, however, since it is (re)opened automatically with every call to log.

log
$rv = log($msgtime, $severity, $message, $name, $facility, $level, $scope); This function causes the passed message to be logged to the syslogger. Only $message is mandatory. Facility and severity will default to user.notice if not specified. NOTE: The syslog facility is set in this case by the $name argument, not the $facility. The latter argument refers to a logging facility in Paranoid's context. NOTE: The syslog facility cannot be changed per-call to log. The only way to change that is to call remove before calling log. Paranoid::Log(3) None as of yet. (c) 2005 Arthur Corliss (corliss@digitalmages.com)