Hello community, here is the log from the commit of package perl-Log-Contextual for openSUSE:Factory checked in at 2013-07-27 15:52:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Log-Contextual (Old) and /work/SRC/openSUSE:Factory/.perl-Log-Contextual.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Log-Contextual" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Log-Contextual/perl-Log-Contextual.changes 2012-01-25 12:19:12.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Log-Contextual.new/perl-Log-Contextual.changes 2013-07-27 15:52:53.000000000 +0200 @@ -1,0 +2,46 @@ +Wed Jul 24 07:28:31 UTC 2013 - co...@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) + +------------------------------------------------------------------- Old: ---- Log-Contextual-0.004001.tar.gz New: ---- Log-Contextual-0.005003.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Log-Contextual.spec ++++++ --- /var/tmp/diff_new_pack.MEiSSh/_old 2013-07-27 15:52:54.000000000 +0200 +++ /var/tmp/diff_new_pack.MEiSSh/_new 2013-07-27 15:52:54.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Log-Contextual # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Log-Contextual -Version: 0.004001 +Version: 0.005003 Release: 0 %define cpan_name Log-Contextual Summary: Simple logging interface with a contextual log @@ -30,34 +30,83 @@ BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Data::Dumper::Concise) -BuildRequires: perl(Exporter::Declare) >= 0.105 +BuildRequires: perl(Exporter::Declare) >= 0.106 +BuildRequires: perl(Moo) +BuildRequires: perl(Test::Fatal) #BuildRequires: perl(BaseLogger) +#BuildRequires: perl(DefaultImportLogger) #BuildRequires: perl(Exporter::Declare::Export::Generator) #BuildRequires: perl(inc::Module::Install) >= 0.91 #BuildRequires: perl(JSON) #BuildRequires: perl(Log::Contextual) +#BuildRequires: perl(Log::Contextual::Role::Router) +#BuildRequires: perl(Log::Contextual::Role::Router::SetLogger) +#BuildRequires: perl(Log::Contextual::Role::Router::WithLogger) +#BuildRequires: perl(Log::Contextual::Router) #BuildRequires: perl(Log::Contextual::SimpleLogger) #BuildRequires: perl(Log::Contextual::WarnLogger) #BuildRequires: perl(Log::Log4perl) #BuildRequires: perl(LWP::Simple) #BuildRequires: perl(Module::Build) #BuildRequires: perl(Module::Install::Base) +#BuildRequires: perl(Moo::Role) #BuildRequires: perl(Parse::CPAN::Meta) +#BuildRequires: perl(TestExporter) +#BuildRequires: perl(TestRouter) #BuildRequires: perl(YAML::Tiny) Requires: perl(Data::Dumper::Concise) -Requires: perl(Exporter::Declare) >= 0.105 +Requires: perl(Exporter::Declare) >= 0.106 +Requires: perl(Moo) %{perl_requires} %description -This module is a simple interface to extensible logging. It is bundled with -a really basic logger, the Log::Contextual::SimpleLogger manpage, but in -general you should use a real logger instead of that. For something more -serious but not overly complicated, try the Log::Dispatchouli manpage (see -the /SYNOPSIS manpage for example.) - -The reason for this module is to abstract your logging interface so that -logging is as painless as possible, while still allowing you to switch from -one logger to another. +Major benefits: + +* * Efficient + + The logging functions take blocks, so if a log level is disabled, the + block will not run: + + # the following won't run if debug is off + 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 /LOGGER CODEREF. + 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 extremely basic application, + start with the Log::Contextual::SimpleLogger manpage and then as your + needs grow you can switch to the Log::Dispatchouli manpage or the + Log::Dispatch manpage or the Log::Log4perl manpage 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, the Log::Contextual::SimpleLogger +manpage, but in general you should use a real logger instead of that. For +something more serious but not overly complicated, try the +Log::Dispatchouli manpage (see the /SYNOPSIS manpage for example.) %prep %setup -q -n %{cpan_name}-%{version} ++++++ Log-Contextual-0.004001.tar.gz -> Log-Contextual-0.005003.tar.gz ++++++ ++++ 2914 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org