1Razor2::Syslog(3)     User Contributed Perl Documentation    Razor2::Syslog(3)
2
3
4

NAME

6       Razor2::Syslog -- Syslog support for Razor2
7

SYNOPSIS

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

DESCRIPTION

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

AUTHOR

42        Les Howard, les@lesandchris.com
43        Vipul Ved Prakash, mail@vipul.net
44

SEE ALSO

46       syslog(3), Sys::Syslog(3), syslogd(8), Unix::Syslog(3), IO::Socket,
47       perl(1)
48
49
50
51perl v5.34.0                      2022-01-21                 Razor2::Syslog(3)
Impressum