Razor2::Syslog(3)
okay bestie, hi π this is the Razor2::Syslog(3) page, straight out of the User Contributed Perl Documentation section. Strap in, because itβs giving syslog-with-extra-sparkle and weβre gonna read it together. π«Ά
π NAME π
Razor2::Syslog β syslog support for Razor2. No cap, thatβs the whole name vibe. β¨
πΈ SYNOPSIS πΈ
use Razor2::Syslog;
my $s=new Razor2::Syslog(Facility=>'local4',Priority=>'debug');
$s->send('see this in syslog',Priority=>'info');
β¨ DESCRIPTION β¨
okay so Razor2::Syslog has been derived from Net::Syslog. Some optimizations were made to Net::Syslog, in particular support for keeping a socket open. The docs that follow are the Net::Syslog docs, and they completely apply 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. Thatβs the iconic behavior, fr fr. π₯
The new call sets up default values, any of which can be overridden in the send call. Keys (listed with default values) are:
Nameβ defaults to<calling script name>Facilityβ defaults tolocal5Priorityβ defaults toerrSyslogPortβ defaults to514SyslogHostβ defaults to127.0.0.1
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.
π«Ά AUTHOR π«Ά
- Les Howard,
les@lesandchris.com - Vipul Ved Prakash,
mail@vipul.net
π SEE ALSO π
syslog(3)Sys::Syslog(3)syslogd(8)Unix::Syslog(3)IO::Socketperl(1)
and thatβs the whole page, bestie π
signing off with source/version perl v5.44.0 and date 2026-10-17, for Razor2::Syslog(3). periodt. ππ
π¦ where this page comes from
- arch rolling: razor 2.88-2 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms