Log::ger::Filter(3pm)
π NAME π
Log::ger::Filter β bestie, this is the one that lets you plug in a filter plugin. That's it. That's the whole vibe. Log::ger::Filter, the 3pm page, we're here, we're thriving. β¨
πΈ VERSION πΈ
version 0.042 β yes, that specific number, no cap, don't @ me π«Ά
π SYNOPSIS π
okay so listen. There are two whole ways to live your life here, and it's giving "choose your own adventure" but the adventure is log filtering π
β¨ To set globally β¨
Like, for everything, main character energy, the whole entire program:
use Log::ger::Filter;
Log::ger::Filter->set('Code', code => sub{ ... });
or, if you want the short-and-snappy version, because sometimes less is more and we love a one-liner:
use Log::ger::Filter 'Code', (code => sub { ... });
π¦ To set for current package only π¦
If you wanna keep it lowkey and just do your own little corner of the codebase, no sharing, boundaries are healthy:
use Log::ger::Filter;
Log::ger::Filter->set_for_current_package('Code', code => sub { ... });
notice howsetgoes global andset_for_current_packagekeeps it local?? the way that difference matters!! π«Ά
π SEE ALSO π
Your little friends, your support system, the group chat of modules:
Log::ger::OutputLog::ger::PluginLog::ger::FormatLog::ger::Layout
go read them too, they're all iconic in their own way π
π AUTHOR π
perlancar <perlancar@cpan.org> β the actual legend, the moment, the blueprint π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2023, 2022, 2020, 2019, 2018, 2017 by perlancar <perlancar@cpan.org>.
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 basically: go off, remix it, it's yours to play with, just keep the same terms fr fr π)
and that's the whole page bestie!! this one came from perl v5.38.2, dated 2024-05-25, and it's filed under Log::ger::Filter(3pm). mwah π go filter some logs, you're doing amazing sweetie πβ¨ππ¦
π¦ where this page comes from
- debian trixie: liblog-ger-perl 0.042-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: liblog-ger-perl 0.042-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: liblog-ger-perl 0.042-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