Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ Sys::Syslog(3) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



Sys::Syslog(3)                                                  Sys::Syslog(3)



NAME
     Sys::Syslog, openlog, closelog, setlogmask, syslog - Perl interface to
     the UNIX syslog(3) calls

SYNOPSIS
         use Sys::Syslog;

         openlog $ident, $logopt, $facility;
         syslog $priority, $format, @args;
         $oldmask = setlogmask $mask_priority;
         closelog;


DESCRIPTION
     Sys::Syslog is an interface to the UNIX syslog(3) program.  Call syslog()
     with a string priority and a list of printf() args just like syslog(3).

     Syslog provides the functions:

     openlog $ident, $logopt, $facility
          $ident is prepended to every message.  $logopt contains one or more
          of the words pid, ndelay, cons, nowait.  $facility specifies the
          part of the system

     syslog $priority, $format, @args
          If $priority permits, logs ($format, @args) printed as by
          printf(3V), with the addition that %m is replaced with "$!" (the
          latest error message).

     setlogmask $mask_priority
          Sets log mask $mask_priority and returns the old mask.
























                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026