Device...Syslog(3pm)

πŸ“¦
version 1.59 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute

πŸ’– 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. 🌟


(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