Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Log-Contextual | Distribution: openSUSE Tumbleweed |
Version: 0.009001 | Vendor: openSUSE |
Release: 1.2 | Build date: Sun Jun 23 18:28:20 2024 |
Group: Unspecified | Build host: reproducible |
Size: 132919 | Source RPM: perl-Log-Contextual-0.009001-1.2.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/Log-Contextual | |
Summary: Simple logging interface with a contextual log |
Major benefits: * * Efficient The default logging functions take blocks, so if a log level is disabled, the block will not run: log_debug { "the new count in the database is " . $rs->count }; Similarly, the 'D' prefixed methods only 'Dumper' the input if the level is enabled. * * Handy The logging functions return their arguments, so you can stick them in the middle of expressions: for (log_debug { "downloading:\n" . join qq(\n), @_ } @urls) { ... } * * Generic 'Log::Contextual' is an interface for all major loggers. If you log through 'Log::Contextual' you will be able to swap underlying loggers later. * * Powerful 'Log::Contextual' chooses which logger to use based on user defined 'CodeRef's. Normally you don't need to know this, but you can take advantage of it when you need to later. * * Scalable If you just want to add logging to your basic application, start with Log::Contextual::SimpleLogger and then as your needs grow you can switch to Log::Dispatchouli or Log::Dispatch or Log::Log4perl or whatever else. This module is a simple interface to extensible logging. It exists to abstract your logging interface so that logging is as painless as possible, while still allowing you to switch from one logger to another. It is bundled with a really basic logger, Log::Contextual::SimpleLogger, but in general you should use a real logger instead. For something more serious but not overly complicated, try Log::Dispatchouli (see SYNOPSIS for example.)
Artistic-1.0 OR GPL-1.0-or-later
* Sun Jun 23 2024 Tina Müller <tina.mueller@suse.com> - updated to 0.009001 see /usr/share/doc/packages/perl-Log-Contextual/Changes 0.009001 2024-05-29 - fix log4perl test when run with unexpected path or directory seperator - add basic docs showing what each role represents - rename some internal methods to be prefixed with underscores - test cleanups - code formatting cleanups 0.009000 2024-05-15 - drop dependency on Exporter::Declare - add the importing package as an argument when calling subclass methods rather than expecting them to use caller - various packaging tweaks and improvements - Documentation fixes and formatting improvements * Sat Jan 20 2018 coolo@suse.com - updated to 0.008001 see /usr/share/doc/packages/perl-Log-Contextual/Changes 0.008001 2018-01-19 09:14:55-08:00 America/Los_Angeles - Ensure new slog functions are exportable (Thanks Dan Book!) * Sat Nov 25 2017 coolo@suse.com - updated to 0.008000 see /usr/share/doc/packages/perl-Log-Contextual/Changes 0.008000 2017-11-24 08:40:15-08:00 America/Los_Angeles - Add slog for logging strings without a code block (Thanks Christian Walde!) - Fix exporting into classes that subclass from users of Log::Contextual. (Thanks Graham Knop!) * Thu May 25 2017 coolo@suse.com - updated to 0.0070001 - Stop testing exact bytes produced by Data::Dumper::Concise (Thanks for reporting Errietta Kostal) (Fixes GH#11) - Add some documentation about exceptions (Thanks Kent Fredric!) * Tue Apr 12 2016 coolo@suse.com - updated to 0.007000 see /usr/share/doc/packages/perl-Log-Contextual/Changes 0.007000 2016-04-11 21:35:41-07:00 America/Los_Angeles - Add `has_logger` predicate to avoid setting logger twice (Thanks Wes Malone! Thwes!) * Tue Apr 14 2015 coolo@suse.com - updated to 0.006005 see /usr/share/doc/packages/perl-Log-Contextual/Changes 0.006005 2015-03-14 12:54:46-05:00 America/Chicago - Fix performance (and arguably duplicate side effects!) in multilogger setups (Good catch and fix Christian Walde!) - Fix warning introduced in 5.21.x 0.006004 2014-07-15 21:50:41-05:00 America/Chicago - Various POD fixes (Karent Etheridge, Florian Schlichting) * Mon Feb 24 2014 coolo@suse.com - updated to 0.006003 - Stop depending on XS module Sub::Identify - Fix missing POD - Fix warnings caused by importing more than once * Fri Oct 04 2013 coolo@suse.com - updated to 0.006000 - Add Log::Contextual::Easy::Default for simple LC usage (Jakob Voß) - Add Log::Contextual::Easy::Package for more different simple LC usage - Fix minimum version of Exporter::Declare - Dep on a newer version of Moo for multiple role composition * Wed Jul 24 2013 coolo@suse.com - updated to 0.005003 - Yell loudly if a user tries to use Log::Contextual::set_logger() or Log::Contextual::with_logger() (aka internals that don't work anymore) directly 0.005002 2013-02-14 (♥) - Fix RT#83267 (Tyler Riddle) 0.005001 2013-02-07 - No changes from previous dev release 0.005000_03 2013-01-16 - merge unpushed 0.004300 into master (frew--, Tyler Riddle++) 0.005000_02 2013-01-15 - add missing changelog entry (derp) 0.005000_01 2013-01-11 - significant changes in the way Log::Contexual works, but the upshot of it is that Log::Contextual is now much less global than before, and applications using Log::Contextual can guard against modules using set_logger (or something like that) and changing their logger. See the new Log::Contextual::Role::Router for more information 0.004300 2012-10-03 - add a way to set default import tags 0.004202 2012-08-04 - correct the caller_level passed into coderef, and document "both" uses of caller_level 0.004201 2012-07-21 - The smallest pod fix ever 0.004200 2012-07-20 - Improve information passed to logger coderef - Significant doc improvements - Fix warning in test suite in Perl 5.16 0.004100 2012-03-29 - Log::Contextual::WarnLogger now supports customized log levels via the 'levels' constructor argument (Karen Etheridge) * Mon Jan 09 2012 coolo@suse.com - update to 0.004001 - Fix version of Exporter::Declare that we dep on - Support Log::Contextual subclasses for default import options - Allow custom log levels - Fix regression that caused D* subs to dumper even if the log level was off
/usr/lib/perl5/vendor_perl/5.40.0/Log /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/Easy /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/Easy/Default.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/Easy/Package.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/Role /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/Role/Router /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/Role/Router.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/Role/Router/HasLogger.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/Role/Router/SetLogger.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/Role/Router/WithLogger.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/Router.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/SimpleLogger.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/TeeLogger.pm /usr/lib/perl5/vendor_perl/5.40.0/Log/Contextual/WarnLogger.pm /usr/share/doc/packages/perl-Log-Contextual /usr/share/doc/packages/perl-Log-Contextual/CONTRIBUTING /usr/share/doc/packages/perl-Log-Contextual/Changes /usr/share/doc/packages/perl-Log-Contextual/README /usr/share/licenses/perl-Log-Contextual /usr/share/licenses/perl-Log-Contextual/LICENSE /usr/share/man/man3/Log::Contextual.3pm.gz /usr/share/man/man3/Log::Contextual::Easy::Default.3pm.gz /usr/share/man/man3/Log::Contextual::Easy::Package.3pm.gz /usr/share/man/man3/Log::Contextual::Role::Router.3pm.gz /usr/share/man/man3/Log::Contextual::Role::Router::HasLogger.3pm.gz /usr/share/man/man3/Log::Contextual::Role::Router::SetLogger.3pm.gz /usr/share/man/man3/Log::Contextual::Role::Router::WithLogger.3pm.gz /usr/share/man/man3/Log::Contextual::Router.3pm.gz /usr/share/man/man3/Log::Contextual::SimpleLogger.3pm.gz /usr/share/man/man3/Log::Contextual::TeeLogger.3pm.gz /usr/share/man/man3/Log::Contextual::WarnLogger.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Jan 9 23:48:41 2025