Log::ger::Plugin(3pm)

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

πŸ’– Log::ger::Plugin β€” okay bestie, let's plug it IN πŸ’–

So like, this is the manual page for Log::ger::Plugin (that's the Log::ger::Plugin(3pm) one, from the User Contributed Perl Documentation corner of the internet) and honestly? It's giving "small but mighty." This little module is how you tell Log::ger to use a plugin. That's the whole vibe. πŸŽ€


✨ VERSION ✨

version 0.042 β€” yes queen, that's the number, don't come for me 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

Okay so there's basically two moods here: set the plugin globally (everyone gets it, main character energy), or set it just for the current package (private, lowkey, only yours).

Setting it globally 🌈

use Log::ger::Plugin;
Log::ger::Plugin->set('OptAway');

or, if you wanna be extra and do it in one line:

use Log::ger::Plugin 'OptAway';

Setting it for the current package only 🫢

use Log::ger::Plugin;
Log::ger::Plugin->set_for_current_package('OptAway');

That's it. That's the whole API. Slay. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

These are the sibling modules, the whole friend group fr fr:

  • Log::ger::Format
  • Log::ger::Layout
  • Log::ger::Output
  • Log::ger::Filter

πŸ’œ AUTHOR πŸ’œ

perlancar <perlancar@cpan.org> β€” the icon, the legend, the moment. 🧚


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, go forth and redistribute, bestie, it's literally free. πŸ’–


Not me writing a whole sign-off for a footer, but here we are: this page came to you courtesy of perl v5.38.2, dated 2024-05-25, and the manual name is Log::ger::Plugin(3pm). Periodt. πŸ’€βœ¨
πŸ“¦ where this page comes from