8.195. Sys::SyslogInterfaces to Unix syslog(3) program. Requires the file syslog.ph, which must be created with h2ph by your system administrator. Provides the following four functions.
closelog Closes the log file.
openlog ident, logopt, facility Opens the log file. Takes the following arguments:
setlogmask mask_priority Sets log mask to mask_priority and returns the old mask.
syslog priority, mask, format, args If priority and mask permit, logs message formed as if by sprintf(format, args), with the addition that %m is replaced with the current error message from $!. Copyright © 2002 O'Reilly & Associates. All rights reserved. |
|