Log::ger::Format(3pm)
π Log::ger::Format π
okay bestie, so this page is all about Log::ger::Format β the module you use when you wanna plug in a format plugin for your logging. that's the whole vibe. let's go π
β¨ VERSION β¨
this is version 0.042 β yes she has a version, she's official π
πΈ SYNOPSIS πΈ
setting it for the current package ONLY (the lil private era)
you can do it like this:
use Log::ger::Format 'Block';
or, if you're feeling verbose and methodical about it:
use Log::ger::Format;
Log::ger::Format->set_for_current_package('Block');
setting it GLOBALLY (main character energy, affects everyone)
use Log::ger::Format;
Log::ger::Format->set('Block');
like. two whole lines. set for global, set_for_current_package for just you. pick your fighter π«Ά
π¦ DESCRIPTION π¦
note: since format plugins affect log-producing code, the import syntax defaults to setting for the current package instead of globally.
fr fr, that's the important bit. the format plugins mess with the code that makes your logs, so use Log::ger::Format '...' doesn't go global by default β it stays local to your package. it's giving responsible, it's giving considerate. not her volunteering to rewrite everybody's logging without asking π
π SEE ALSO π
Log::ger::LayoutLog::ger::OutputLog::ger::PluginLog::ger::Filter
the whole squad, together at last π«β¨
π AUTHOR π
perlancar <perlancar@cpan.org> β the icon, the legend, the one who wrote this whole thing π
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2023, 2022, 2020, 2019, 2018, 2017 by perlancar <perlancar@cpan.org>.
it's free software, bestie π you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay.
okay that's the whole page, tysm for reading π₯Ήπ«
this has been Log::ger::Format, perl v5.38.2, 2024-05-25 β and yes i'm signing off in style bc you deserve it π
πΈπ¦ mwah, go format some logs β¨
π¦ 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