MooseX...:Levels(3pm)
π MooseX::LogDispatch::Levels(3pm) π
okay bestie, welcome to the manual page for MooseX::LogDispatch::Levels(3pm) β yep, that's the one, straight out of the User Contributed Perl Documentation section. pull up a chair, this one's short and sweet and honestly kinda iconic for it π
β¨ NAME β¨
MooseX::LogDispatch::Levels β it's literally MooseX::LogDispatch, but it also hands you methods for all the log levels. it's giving "same energy, more tools" π
πΈ SYNOPSIS πΈ
package MyLogger;
use Moose;
with 'MooseX::LogDispatch::Levels';
# Optional configuration attribute would go here.
# Elsewhere...
my $logger = MyLogger->new;
$logger->debug("Something to log");
$logger->logger->debug("This also works");
see that? you consume the role, you get a logger, you log. no drama, no cap π§
π¦ DESCRIPTION π¦
so here's the tea: it's just like MooseX::LogDispatch, except the methods for the various log levels get added directly to your class. like, they live in your class now. main character methods fr fr β¨
and the configuration? exactly the same as for MooseX::LogDispatch. same way, no new rules, no secret handshake. iykyk π«Ά
π METHODS π
here's the whole squad, no one left behind:
logdebuginfonoticewarningerrorcriticalalertemergency
that's the list, bestie β all nine of them, exactly as they come π
π AUTHOR π
Ash Berlin "<ash@cpan.org>". shoutout, legend behaviour honestly π
π LICENCE π
this module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. see perlartistic. so like, go forth, remix, redistribute, slay π
and that's a wrap!! this page came to you from perl v5.36.0, dated 2023-02-18, and honestly it ate πβ¨ bye bestie, go log something π
π¦ where this page comes from
- debian trixie: libmoosex-logdispatch-perl 1.2002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmoosex-logdispatch-perl 1.2002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmoosex-logdispatch-perl 1.2002-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmoosex-logdispatch-perl 1.2002-2 Β· 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