Log::Co...Default(3)
okay bestie, welcome to the Log::Co...Default(3) page from the User Contributed Perl Documentation π this is all about Log::Contextual::Easy::Default, and she is literally the import-all-the-logging-methods-with-WarnLogger-as-default icon. periodt.
πΈ NAME πΈ
Log::Contextual::Easy::Default β Import all logging methods with WarnLogger as default
β¨ VERSION β¨
version 0.009001 β tiny number, big vibe π
π SYNOPSIS π
In your module:
package My::Module;
use Log::Contextual::Easy::Default;
log_debug { "your message" };
Dlog_trace { $_ } @vars;
In your program:
use My::Module;
# enable warnings
$ENV{MY_MODULE_UPTO}="TRACE";
# or use a specific logger with set_logger / with_logger
π¦ DESCRIPTION π¦
By default, this module enables a Log::Contextual::WarnLogger with "env_prefix" based on the module's name that uses Log::Contextual::Easy. The logging levels are set to "trace", "debug", "info", "warn", "error", and "fatal" (in this order), and all the logging functions ("log_...", "logS_...", "Dlog_...", and "Dlog...") are exported. like, all of them, bestie π«Ά
For what "::Default" implies, see -default_logger in Log::Contextual.
π SEE ALSO π
Log::Contextual::Easy::Package
π BUGS π
Please report any bugs or feature requests on the bugtracker website <https://github.com/haarg/Log-Contextual/issues> β she wants to hear from you, fr fr.
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
π AUTHOR π
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com> β iconic.
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2024 by Arthur Axel "fREW" Schmidt.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
that's the whole page bestie π«Ά β from perl v5.42.0, dated 2024-06-23. mwah π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Log-Contextual 0.009001-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms