Net::S...Logger(3pm)
β¨ NAME β¨
Net::Stomp::StupidLogger β a stub logger, bestie π
π¦ DESCRIPTION π¦
okay so picture this: a logger-ish object that's literally the simplest thing ever. It's logger-like, it's very simple, and all it does is delegate to carp. that's the whole vibe. that's it. π«Ά
By default, it logs at "warn" and above. so like, warn, error, fatal β the whole serious-girl lineup.
and now the lore π: Net::Stomp used to use this, but now it just uses Log::Any instead. so this package is just sitting here, minding its own business, existing purely just in case someone else out there was still using it. it's giving "kept around for the fans." not abandoned, just retired-but-on-call. ππ
πΈ METHODS πΈ
π new
Constructor, bb. You can pass a hashref with the log levels you wanna enable / disable, like this:
Net::Stomp::StupidLogger->new({debug=>1}); # logs debug, warn,
# error, fatal
Net::Stomp::StupidLogger->new({warn=>0}); # logs error, fatal
so debug=>1 turns debug on (and everything above it comes along for the ride: warn, error, fatal) β¨ and warn=>0 switches warn off, leaving you with error and fatal. iconic level-toggling behaviour, no notes.
π debug
π info
π warn
π error
π fatal
these five are the actual logging methods, and they all work the same way:
$logger->warn('some',$message);
If the corresponding level is enabled, it joins the arguments into a single string β and heads up, no spaces are added, so whatever spacing you want, you gotta put it in yourself, bestie π β and then it calls carp.
fr fr,no spaces addedis doing a lot of work in that sentence. don't come for me when your message looks likesomemessage, the manpage literally told you. π
π AUTHORS π
Gianni Ceccarelli <dakkar@thenautilus.net>
π COPYRIGHT π
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
and that's the whole page, bestie!! π¦πΈπ this little queen was documented as part of the User Contributed Perl Documentation, running on perl v5.38.2, with a date stamp of 2024-02-24. slay, stay logging, periodt β¨π
π
π¦ where this page comes from
- debian trixie: libnet-stomp-perl 0.62-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libnet-stomp-perl 0.62-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnet-stomp-perl 0.62-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-stomp-perl 0.62-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