Log::ger::Layout(3pm)

πŸ“¦
version 0.042 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ 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::Output
  • Log::ger::Plugin
  • Log::ger::Format

πŸ‘‘ AUTHOR πŸ‘‘

perlancar <perlancar@cpan.org> β€” iconic, we stan. πŸ’–


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