Device...Syslog(3pm)
π Device::Modem::Log::Syslog β the syslog glow-up π
okay bestie, so this is a perl manual page (3pm, so you know it's a module thing) and it lives in the User Contributed Perl Documentation section. It's called Device::Modem::Log::Syslog and honestly? It's giving "little plugin that could". π¦
β¨ NAME β¨
Device::Modem::Log::Syslog β a Syslog logging plugin for the Device::Modem class. That's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
so you just... do the thing, and it does the thing:
use Device::Modem;
my $box = Device::Modem->( log => 'syslog', ... );
...
periodt. π
π«Ά DESCRIPTION π«Ά
This is an example log class for Device::Modem that logs all modem activity, commands, ... β everything β to syslog. Like, every last lil thing. Obsessed. π
It gets loaded automatically at Device::Modem startup, but only if you specify the value "syslog" to the log parameter. No log => 'syslog', no plugin. That's the deal. π€
β οΈ real talk: if you don't have the additional Sys::Syslog module installed, you will not be able to use this logging plugin. You should better leave the default logging (to text file). Don't fight it bestie, just install the module or keep the text file. π
π REQUIRES π
Sys::Syslog β non-negotiable, she's the whole reason this works. β¨
π EXPORTS π
None. Zero. Nothing. Not one single thing gets exported. She's lowkey mysterious like that. π
π AUTHOR π
Cosimo Streppone, cosimo@cpan.org β legend behaviour, fr fr. π
π COPYRIGHT π
(C) 2002 Cosimo Streppone, cosimo@cpan.org
This library is free software; you can only redistribute it and/or modify it under the same terms as Perl itself. π©·
β SEE ALSO β
"Device::Modem""Device::Modem::Log::File"
and that's the whole page, bestie!! π§ written for perl v5.30.3, dated 2020-06-20, and yeah the header/footer both say Device...Syslog(3pm) because the terminal is dramatic and loves an ellipsis π
slay, bye!! πβ¨
π¦ where this page comes from
- debian bookworm: libdevice-modem-perl 1.59-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdevice-modem-perl 1.59-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libdevice-modem-perl 1.59-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdevice-modem-perl 1.59-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdevice-modem-perl 1.59-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms