home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSSyyyyssss::::::::SSSSyyyysssslllloooogggg((((3333)))) SSSSyyyyssss::::::::SSSSyyyysssslllloooogggg((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- Sys::Syslog, openlog, closelog, setlogmask, syslog - Perl interface to
- the UNIX _s_y_s_l_o_g(3) calls
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- use Sys::Syslog;
-
- openlog $ident, $logopt, $facility;
- syslog $priority, $format, @args;
- $oldmask = setlogmask $mask_priority;
- closelog;
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- 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
- $_i_d_e_n_t is prepended to every message. $_l_o_g_o_p_t contains one or more
- of the words _p_i_d, _n_d_e_l_a_y, _c_o_n_s, _n_o_w_a_i_t. $_f_a_c_i_l_i_t_y specifies the
- part of the system
-
- syslog $priority, $format, @args
- If $_p_r_i_o_r_i_t_y permits, logs ($_f_o_r_m_a_t, @_a_r_g_s) printed as by
- printf(3V), with the addition that %_m is replaced with "$!" (the
- latest error message).
-
- setlogmask $mask_priority
- Sets log mask $_m_a_s_k__p_r_i_o_r_i_t_y and returns the old mask.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-