Log::A...ispatch(3pm)
π NAME π
Log::Any::Adapter::Dispatch β bestie, this is the adapter that lets Log::Any hang out with Log::Dispatch. Two icons, one friendship bracelet. π«Ά
β¨ VERSION β¨
version 0.08 β yes queen, she's on 0.08, that's the vibe. π
πΈ SYNOPSIS πΈ
Okay so here's how you two get introduced:
use Log::Any::Adapter;
Log::Any::Adapter->set('Dispatch', outputs => [[ ... ]]);
my $dispatcher = Log::Dispatch->new( ... );
Log::Any::Adapter->set('Dispatch', dispatcher => $dispatcher);
Like, either you let her build the Log::Dispatch for you (that first set), or you already have your own Log::Dispatch bestie and you just hand her over (that second set). Both are valid. Both slay. π
π¦ DESCRIPTION π¦
So the tea is: this here is a Log::Any adapter, and it uses Log::Dispatch as the thing that actually does the logging. Matchmaker energy. π
You've got two ways to do it, and honestly? Pick your fighter:
- Pass parameters β stuff like
outputsβ and they get forwarded straight along toLog::Dispatch->new. Let the library cook. π₯ - Or pass a
Log::Dispatchobject directly, using thedispatcherparameter. If you already built one and you're attached to it, no problem, bring your own. π
That's literally it. No cap.
π SEE ALSO π
Go be nosy, bestie, these are the whole squad:
Log::Any::AdapterLog::AnyLog::Dispatch
π AUTHORS π
The legends who made this happen:
- Jonathan Swartz
<swartz@pobox.com> - Doug Bell
<preaction@cpan.org>
π CONTRIBUTOR π
Shoutout to the one who pulled up and helped out:
- Jens Rehsack
<sno@netbsd.org>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2017 by Jonathan Swartz and Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π So go forth and remix, respectfully. β¨
Quick vibe check before you go: everything above is exactly as it is in the real page β no invented options, no extra lore. Promise. π€
Perl v5.34.0, dated 2022-06-15 β that's the source and the date, and that's the whole page, bestie. Love that for us. Byeee! πβ¨π
π¦ where this page comes from
- debian bookworm: liblog-any-adapter-dispatch-perl 0.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: liblog-any-adapter-dispatch-perl 0.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: liblog-any-adapter-dispatch-perl 0.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: liblog-any-adapter-dispatch-perl 0.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: liblog-any-adapter-dispatch-perl 0.08-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