SHARYA...::Util(3pm)

πŸ“¦
version 0.77 Β· 2 versions
  • 0.77 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.77 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

okay bestie, welcome to SHARYANTO::Log::Util β€” it's a Perl module (yes, a 3pm manpage, we're in Perl-land πŸ’œ) and it's literally just Log-related utilities. That's the whole job. No cap.


πŸŽ€ VERSION πŸŽ€

This doc describes version 0.77 of SHARYANTO::Log::Util, which ships in the Perl distribution SHARYANTO-Utils, and it was released on 2015-09-04. Vintage, but make it fashion. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

Here's the entire vibe check β€” one line, she's simple, she's elegant:

use SHARYANTO::Log::Util qw(@log_levels $log_levels_re);

That's it. That's the whole entrance. 🌸


πŸ’… DESCRIPTION πŸ’…

so like… this section is giving minimal. There's no big prose paragraph here in the original, bestie β€” the actual content lives in VARIABLES right below. Not every section is the main character, and that's fine. 🫢

🌈 VARIABLES 🌈

Important tea first: none of these are exported by default, but they are exportable β€” so if you want them, you gotta ask for them by name in your use line. Periodt.

  • @log_levels β€” this one holds the log levels, listed from lowest to highest. Right now they are:
(qw/trace debug info warn error fatal/)

and the slay part? You can use these as method names over on Log::Any β€” like $log->debug, $log->warn, etc. So the array is basically the plug-and-play menu of methods. πŸ”₯

  • $log_levels_re β€” this one holds a regular expression you can use to check whether a log level is valid. Validation queen. βœ…

πŸ‘‘ SEE ALSO πŸ‘‘

Go peek at these too, iykyk:

  • SHARYANTO
  • Log::Any

🌸 HOMEPAGE 🌸

Wanna visit the project's homepage? It's right here:

<https://metacpan.org/release/SHARYANTO-Utils>


🧚 SOURCE 🧚

The source repository lives at:

<https://github.com/perlancar/perl-SHARYANTO-Utils>


πŸ’€ BUGS πŸ’€

Please report any bugs or feature requests on the bugtracker website:

<https://rt.cpan.org/Public/Dist/Display.html?Name=SHARYANTO-Utils>

and listen β€” when you submit a bug or a request, please include a test-file, or a patch to an existing test-file, that illustrates the bug or the feature you want. Fr fr, it helps so much. πŸ™ˆ

πŸ’– AUTHOR πŸ’–

perlancar <perlancar@cpan.org>


This software is copyright (c) 2015 by 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.


and that's the whole page, bestie πŸŽ€ this was SHARYANTO::Log::Util, section 3pm, built with perl v5.34.0, dated 2022-06-17. stay logged, stay iconic, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from