Log::D...gurator(3pm)
π NAME π
Log::Dispatch::Configurator β it's the abstract Configurator class, bestie. The blueprint. The template. The main character that never actually shows up to the party itself, it just tells everyone else how to dress. β¨
π SYNOPSIS π
okay so this is the vibe. you're building your own configurator, so you roll it like this:
package Log::Dispatch::Configurator::Foo;
use base qw(Log::Dispatch::Configurator);
# should implement
sub get_attrs_global { }
sub get_attrs { }
# optional
sub reload { }
sub needs_reload { }
see how get_attrs_global and get_attrs are under "should implement"? that's not a suggestion, babe, that's a requirement π
and reload plus needs_reload are the optional little extras, the sprinkles on top π
πΈ DESCRIPTION πΈ
Log::Dispatch::Configurator is an abstract class of config parser. fr fr. so if you're out here making a brand new configurator implementation, you should inherit from this class. it's giving "we don't do it alone in this house" energy π«Ά
and if you want the details β the whole deep dive β go read "PLUGGABLE CONFIGURATOR" in Log::Dispatch::Config. it's all there, iykyk π
π AUTHOR π
Tatsuhiko Miyagawa <miyagawa@bulknews.net> β iconic behavior, we stan π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. so yeah, it's free, go wild, just keep the same terms, no cap. π
π¦ SEE ALSO π¦
Log::Dispatch::Configβ literally the one you need to check for the pluggable configurator tea β
and that's the whole page, bestie! this one came from perl v5.34.0, dated 2022-06-15, and it lives in the User Contributed Perl Documentation corner of the world π (yeah the header/footer shorten the name to Log::D...gurator β it's a whole mystery-novel ellipsis situation, but you and me both know who she really is π). stay slay, go inherit responsibly πβ¨
π¦ where this page comes from
- debian bookworm: liblog-dispatch-config-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: liblog-dispatch-config-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: liblog-dispatch-config-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: liblog-dispatch-config-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: liblog-dispatch-config-perl 1.04-3 Β· 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