Log::ger::Layout(3pm)
β¨ Log::ger::Layout β bestie's guide to layout plugins β¨
okay so real talk: Log::ger::Layout is the little module that lets you pick a layout plugin for Log::ger. that's it. that's the whole job. it's giving "one tiny module, one big vibe". π
πΈ VERSION πΈ
we're on version 0.042. slay. π
π¦ SYNOPSIS π¦
okay so if you wanna set the layout globally (like, for everybody, main character energy), you do this:
use Log::ger::Layout;
Log::ger::Layout->set('Pattern');
or, if you're feeling β¨efficientβ¨, the short version:
use Log::ger::Layout 'Pattern';
but if you only want it for the current package β like, keep it in your own lane, no cap β then:
use Log::ger::Layout;
Log::ger::Layout->set_for_current_package('Pattern');
that's the whole synopsis bestie, go forth and lay out your logs. π«Ά
π SEE ALSO π
these are the siblings, the group chat members, the ones you should also go read:
Log::ger::OutputLog::ger::PluginLog::ger::Format
π AUTHOR π
perlancar <perlancar@cpan.org> β iconic, we stan. π
π 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 likeβ¦ yes you can remix it, yes you can share it, just keep the same terms as Perl 5 itself. respect the license bestie, it's the law. β
and that's the tea! π this page was built from Log::ger::Layout(3pm), perl v5.38.2, dated 2024-05-25 β go forth, set your layout, and may your logs always be pretty. byeeee ππ§
π¦ 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