Log::ger::Output(3pm)

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

πŸ’– Log::ger::Output β€” bestie, let's set where your logs actually GO πŸ’–

okay so this is Log::ger::Output (that's the manual page name, she's a Perl module, part of the Log::ger family πŸ‘‘) β€” and she is literally the one who decides what your logging output even is. You wanna send logs somewhere? You talk to her. She's the plug. 🫢

VERSION ✨ she's on version 0.042 β€” iconic, timeless, no notes πŸ’…


🌸 SYNOPSIS 🌸

Here's the whole vibe. Two ways to set it globally, bestie.

Option one β€” you load her and call set:

use Log::ger::Output;
Log::ger::Output->set(Screen => (
    use_color => 1,
    ...
);

or this lil one-liner situation, where the output name comes straight in as an import arg:

use Log::ger::Output 'Screen', (
    use_color=>1,
    ...
);

And now the ✨scoped✨ girlies β€” if you only want this for the current package, not the whole program:

use Log::ger::Output;
Log::ger::Output->set_for_current_package(Screen => (
    use_color => 1,
    ...
);
no cap, those code blocks are copied exactly as they live in the source, semicolons and all. Don't come for me, I don't fix other people's parens πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, go say hi πŸ’œ

  • Log::ger::Format 🌈
  • Log::ger::Layout πŸŽ€
  • Log::ger::Plugin 🧚
  • Log::ger::Filter πŸ“

🌟 AUTHOR 🌟

perlancar <perlancar@cpan.org> β€” the actual main character who wrote this πŸ’–


This software is copyright (c) 2023, 2022, 2020, 2019, 2018, 2017 by perlancar <perlancar@cpan.org>. yes that's a whole era of years, she's been thriving πŸ‘‘

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 wild, but respectfully 🫢


and that's the page!! πŸ’« this whole thing was generated by perl v5.38.2 and dated 2024-05-25, so if you're reading this from the future β€” hiii, hope you slayed πŸ’…βœ¨

πŸ“¦ where this page comes from