RAZOR2::SYSLOG(3PM) - Linux man page online | Library functions

Razor2::Syslog(3pm) User Contributed Perl Documentation Razor2::Syslog(3pm)


Razor2::Syslog -- Syslog support for Razor2


use Razor2::Syslog; my $s=new Razor2::Syslog(Facility=>'local4',Priority=>'debug'); $s->send('see this in syslog',Priority=>'info');


This module has been derived from Net::Syslog. Some optimizations were made to Net::Syslog, in particular support for keeping a socket open. What follows is the documentation for Net::Syslog, which completely applies to this module. Net::Syslog implements the intra-host syslog forwarding protocol. It is not intended to replace the Sys::Syslog or Unix::Syslog modules, but instead to provide a method of using syslog when a local syslogd is unavailable or when you don't want to write syslog messages to the local syslog. The new call sets up default values, any of which can be overridden in the send call. Keys (listed with default values) are: Name <calling script name> Facility local5 Priority err SyslogPort 514 SyslogHost Valid Facilities are: kern, user, mail, daemon, auth, syslog, lpr, news, uucp, cron, authpriv, ftp, local0, local1, local2, local3, local4, local5, local6 Valid Priorities are: emerg, alert, crit, err, warning, notice, info, debug


Les Howard, Vipul Ved Prakash,


syslog(3), Sys::Syslog(3), syslogd(8), Unix::Syslog(3), IO::Socket, perl(1)
perl v5.26.0 2017-07-26 Razor2::Syslog(3pm)
This manual Reference Other manuals
Razor2::Syslog(3pm) referred by
refer to perl(1) | Sys::Syslog(3perl) | syslog(3) | syslogd(8) | Unix::Syslog(3pm)
Download raw manual
Index User Contributed Perl Documentation (+23303) perl v5.26.0 (+3056) № 3 (+68044)
Go top