[liblog-contextual-perl] 01/06: Imported Upstream version 0.006004
gregor herrmann
gregoa at debian.org
Wed Jul 16 15:42:32 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository liblog-contextual-perl.
commit 3ae47c69ebf75af58abdc5416bd881537938826b
Author: gregor herrmann <gregoa at debian.org>
Date: Wed Jul 16 17:36:29 2014 +0200
Imported Upstream version 0.006004
---
Changes | 3 +++
LICENSE | 2 +-
MANIFEST | 2 +-
META.json | 15 ++-------------
META.yml | 26 +++++++++++---------------
Makefile.PL | 5 ++---
README | 28 ++++++++++++++--------------
dist.ini | 2 +-
lib/Log/Contextual.pm | 16 ++++++++--------
lib/Log/Contextual/Easy/Default.pm | 4 ++--
lib/Log/Contextual/Easy/Package.pm | 4 ++--
lib/Log/Contextual/Role/Router.pm | 4 ++--
lib/Log/Contextual/Role/Router/SetLogger.pm | 8 +++++---
lib/Log/Contextual/Role/Router/WithLogger.pm | 8 +++++---
lib/Log/Contextual/Router.pm | 8 +++++---
lib/Log/Contextual/SimpleLogger.pm | 4 ++--
lib/Log/Contextual/TeeLogger.pm | 4 ++--
lib/Log/Contextual/WarnLogger.pm | 4 ++--
18 files changed, 70 insertions(+), 77 deletions(-)
diff --git a/Changes b/Changes
index 249287d..dfb9110 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for Log-Contextual
+0.006004 2014-07-15 21:50:41-05:00 America/Chicago
+ - Various POD fixes (Karent Etheridge, Florian Schlichting)
+
0.006003 2014-02-22 09:41:29CST-0600 America/Chicago
- Stop depending on XS module Sub::Identify
diff --git a/LICENSE b/LICENSE
index efbb1ce..52ec02e 100644
--- a/LICENSE
+++ b/LICENSE
@@ -22,7 +22,7 @@ This is free software, licensed under:
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
diff --git a/MANIFEST b/MANIFEST
index efaaa24..480d0f7 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.013.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019.
CONTRIBUTING
Changes
LICENSE
diff --git a/META.json b/META.json
index d20ff01..a290f85 100644
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
"Arthur Axel \"fREW\" Schmidt <frioux+cpan at gmail.com>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.013, CPAN::Meta::Converter version 2.120921",
+ "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141170",
"license" : [
"perl_5"
],
@@ -40,17 +40,6 @@
}
},
"release_status" : "stable",
- "resources" : {
- "bugtracker" : {
- "web" : "https://github.com/frioux/Log-Contextual/issues"
- },
- "homepage" : "https://github.com/frioux/Log-Contextual",
- "repository" : {
- "type" : "git",
- "url" : "https://github.com/frioux/Log-Contextual.git",
- "web" : "https://github.com/frioux/Log-Contextual"
- }
- },
- "version" : "0.006003"
+ "version" : "0.006004"
}
diff --git a/META.yml b/META.yml
index 5c3f7a7..786c638 100644
--- a/META.yml
+++ b/META.yml
@@ -1,26 +1,22 @@
---
abstract: 'Simple logging interface with a contextual log'
author:
- - "Arthur Axel \"fREW\" Schmidt <frioux+cpan at gmail.com>"
+ - 'Arthur Axel "fREW" Schmidt <frioux+cpan at gmail.com>'
build_requires:
- Test::Fatal: 0
+ Test::Fatal: '0'
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: '6.30'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.013, CPAN::Meta::Converter version 2.120921'
+generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141170'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Log-Contextual
requires:
- Carp: 0
- Data::Dumper::Concise: 0
- Exporter::Declare: 0.111
- Moo: 1.003
- Scalar::Util: 0
-resources:
- bugtracker: https://github.com/frioux/Log-Contextual/issues
- homepage: https://github.com/frioux/Log-Contextual
- repository: https://github.com/frioux/Log-Contextual.git
-version: 0.006003
+ Carp: '0'
+ Data::Dumper::Concise: '0'
+ Exporter::Declare: '0.111'
+ Moo: '1.003'
+ Scalar::Util: '0'
+version: '0.006004'
diff --git a/Makefile.PL b/Makefile.PL
index 66d888c..00ec9d6 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,5 +1,5 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.013.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019.
use strict;
use warnings;
@@ -12,7 +12,6 @@ use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
"ABSTRACT" => "Simple logging interface with a contextual log",
"AUTHOR" => "Arthur Axel \"fREW\" Schmidt <frioux+cpan\@gmail.com>",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
@@ -30,7 +29,7 @@ my %WriteMakefileArgs = (
"TEST_REQUIRES" => {
"Test::Fatal" => 0
},
- "VERSION" => "0.006003",
+ "VERSION" => "0.006004",
"test" => {
"TESTS" => "t/*.t"
}
diff --git a/README b/README
index a673be9..bb09a0f 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
Log::Contextual - Simple logging interface with a contextual log
VERSION
- version 0.006003
+ version 0.006004
SYNOPSIS
use Log::Contextual qw( :log :dlog set_logger with_logger );
@@ -80,23 +80,23 @@ DESCRIPTION
"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
+ advantage of it when you need to later.
* Scalable
- If you just want to add logging to your extremely 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.
+ 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 of that. For
- something more serious but not overly complicated, try Log::Dispatchouli
- (see "SYNOPSIS" for example.)
+ 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.)
A WORK IN PROGRESS
This module is certainly not complete, but we will not break the
@@ -144,7 +144,7 @@ IMPORT OPTIONS
option except "-package_logger" sets the logger for the current package.
Unlike "-default_logger", "-package_logger" cannot be overridden with
- "set_logger".
+ "set_logger" or "with_logger".
package My::Package;
use Log::Contextual::SimpleLogger;
@@ -204,8 +204,8 @@ SETTING DEFAULT IMPORT OPTIONS
Note the "$_[1] ||" in "arg_default_logger". All of these methods are
passed the values passed in from the arguments to the subclass, so you
- can either throw them away, honor them, die on usage, or whatever. To be
- clear, if you define your subclass, and someone uses it as follows:
+ can either throw them away, honor them, die on usage, etc. To be clear,
+ if you define your subclass, and someone uses it as follows:
use MyApp::Log::Contextual -default_logger => $foo,
-levels => [qw(bar baz biff)];
@@ -353,8 +353,8 @@ FUNCTIONS
LOGGER CODEREF
Anywhere a logger object can be passed, a coderef is accepted. This is
so that the user can use different logger objects based on runtime
- information. The logger coderef is passed the package of the caller the
- caller level the coderef needs to use if it wants more caller
+ information. The logger coderef is passed the package of the caller, and
+ the caller level the coderef needs to use if it wants more caller
information. The latter is in a hashref to allow for more options in the
future.
diff --git a/dist.ini b/dist.ini
index 70f4966..9a4ba3f 100644
--- a/dist.ini
+++ b/dist.ini
@@ -2,7 +2,7 @@ name = Log-Contextual
author = Arthur Axel "fREW" Schmidt <frioux+cpan at gmail.com>
license = Perl_5
copyright_holder = Arthur Axel "fREW" Schmidt
-version = 0.006003
+version = 0.006004
[NextRelease]
[@Git]
diff --git a/lib/Log/Contextual.pm b/lib/Log/Contextual.pm
index 45881fd..2be17ae 100644
--- a/lib/Log/Contextual.pm
+++ b/lib/Log/Contextual.pm
@@ -1,5 +1,5 @@
package Log::Contextual;
-$Log::Contextual::VERSION = '0.006003';
+$Log::Contextual::VERSION = '0.006004';
# ABSTRACT: Simple logging interface with a contextual log
use strict;
@@ -240,7 +240,7 @@ Log::Contextual - Simple logging interface with a contextual log
=head1 VERSION
-version 0.006003
+version 0.006004
=head1 SYNOPSIS
@@ -321,11 +321,11 @@ C<Log::Contextual> you will be able to swap underlying loggers later.
C<Log::Contextual> chooses which logger to use based on L<< user defined C<CodeRef>s|/LOGGER CODEREF >>.
Normally you don't need to know this, but you can take advantage of it when you
-need to later
+need to later.
=item * Scalable
-If you just want to add logging to your extremely basic application, start with
+If you just want to add logging to your basic application, start with
L<Log::Contextual::SimpleLogger> and then as your needs grow you can switch to
L<Log::Dispatchouli> or L<Log::Dispatch> or L<Log::Log4perl> or whatever else.
@@ -336,7 +336,7 @@ 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, L<Log::Contextual::SimpleLogger>,
-but in general you should use a real logger instead of that. For something
+but in general you should use a real logger instead. For something
more serious but not overly complicated, try L<Log::Dispatchouli> (see
L</SYNOPSIS> for example.)
@@ -390,7 +390,7 @@ The C<-package_logger> import option is similar to the C<-logger> import option
except C<-package_logger> sets the logger for the current package.
Unlike L</-default_logger>, C<-package_logger> cannot be overridden with
-L</set_logger>.
+L</set_logger> or L</with_logger>.
package My::Package;
use Log::Contextual::SimpleLogger;
@@ -449,7 +449,7 @@ own C<Log::Contextual> subclass as follows:
Note the C<< $_[1] || >> in C<arg_default_logger>. All of these methods are
passed the values passed in from the arguments to the subclass, so you can
-either throw them away, honor them, die on usage, or whatever. To be clear,
+either throw them away, honor them, die on usage, etc. To be clear,
if you define your subclass, and someone uses it as follows:
use MyApp::Log::Contextual -default_logger => $foo,
@@ -623,7 +623,7 @@ slurping up (and also setting C<wantarray>) all the C<@args>
Anywhere a logger object can be passed, a coderef is accepted. This is so
that the user can use different logger objects based on runtime information.
-The logger coderef is passed the package of the caller the caller level the
+The logger coderef is passed the package of the caller, and the caller level the
coderef needs to use if it wants more caller information. The latter is in
a hashref to allow for more options in the future.
diff --git a/lib/Log/Contextual/Easy/Default.pm b/lib/Log/Contextual/Easy/Default.pm
index e10cb46..042659c 100644
--- a/lib/Log/Contextual/Easy/Default.pm
+++ b/lib/Log/Contextual/Easy/Default.pm
@@ -1,5 +1,5 @@
package Log::Contextual::Easy::Default;
-$Log::Contextual::Easy::Default::VERSION = '0.006003';
+$Log::Contextual::Easy::Default::VERSION = '0.006004';
# ABSTRACT: Import all logging methods with WarnLogger as default
use strict;
@@ -34,7 +34,7 @@ Log::Contextual::Easy::Default - Import all logging methods with WarnLogger as d
=head1 VERSION
-version 0.006003
+version 0.006004
=head1 SYNOPSIS
diff --git a/lib/Log/Contextual/Easy/Package.pm b/lib/Log/Contextual/Easy/Package.pm
index 46f7c51..326812a 100644
--- a/lib/Log/Contextual/Easy/Package.pm
+++ b/lib/Log/Contextual/Easy/Package.pm
@@ -1,5 +1,5 @@
package Log::Contextual::Easy::Package;
-$Log::Contextual::Easy::Package::VERSION = '0.006003';
+$Log::Contextual::Easy::Package::VERSION = '0.006004';
# ABSTRACT: Import all logging methods with WarnLogger as default package logger
use strict;
@@ -34,7 +34,7 @@ Log::Contextual::Easy::Package - Import all logging methods with WarnLogger as d
=head1 VERSION
-version 0.006003
+version 0.006004
=head1 SYNOPSIS
diff --git a/lib/Log/Contextual/Role/Router.pm b/lib/Log/Contextual/Role/Router.pm
index cf3916e..73b5355 100644
--- a/lib/Log/Contextual/Role/Router.pm
+++ b/lib/Log/Contextual/Role/Router.pm
@@ -1,5 +1,5 @@
package Log::Contextual::Role::Router;
-$Log::Contextual::Role::Router::VERSION = '0.006003';
+$Log::Contextual::Role::Router::VERSION = '0.006004';
# ABSTRACT: Abstract interface between loggers and logging code blocks
use Moo::Role;
@@ -22,7 +22,7 @@ Log::Contextual::Role::Router - Abstract interface between loggers and logging c
=head1 VERSION
-version 0.006003
+version 0.006004
=head1 SYNOPSIS
diff --git a/lib/Log/Contextual/Role/Router/SetLogger.pm b/lib/Log/Contextual/Role/Router/SetLogger.pm
index 1129c92..4bca5d1 100644
--- a/lib/Log/Contextual/Role/Router/SetLogger.pm
+++ b/lib/Log/Contextual/Role/Router/SetLogger.pm
@@ -1,5 +1,7 @@
package Log::Contextual::Role::Router::SetLogger;
-$Log::Contextual::Role::Router::SetLogger::VERSION = '0.006003';
+$Log::Contextual::Role::Router::SetLogger::VERSION = '0.006004';
+# ABSTRACT: Abstract interface between loggers and logging code blocks
+
use Moo::Role;
requires 'set_logger';
@@ -14,11 +16,11 @@ __END__
=head1 NAME
-Log::Contextual::Role::Router::SetLogger
+Log::Contextual::Role::Router::SetLogger - Abstract interface between loggers and logging code blocks
=head1 VERSION
-version 0.006003
+version 0.006004
=head1 AUTHOR
diff --git a/lib/Log/Contextual/Role/Router/WithLogger.pm b/lib/Log/Contextual/Role/Router/WithLogger.pm
index 5b6c340..38dd749 100644
--- a/lib/Log/Contextual/Role/Router/WithLogger.pm
+++ b/lib/Log/Contextual/Role/Router/WithLogger.pm
@@ -1,5 +1,7 @@
package Log::Contextual::Role::Router::WithLogger;
-$Log::Contextual::Role::Router::WithLogger::VERSION = '0.006003';
+$Log::Contextual::Role::Router::WithLogger::VERSION = '0.006004';
+# ABSTRACT: Abstract interface between loggers and logging code blocks
+
use Moo::Role;
requires 'with_logger';
@@ -14,11 +16,11 @@ __END__
=head1 NAME
-Log::Contextual::Role::Router::WithLogger
+Log::Contextual::Role::Router::WithLogger - Abstract interface between loggers and logging code blocks
=head1 VERSION
-version 0.006003
+version 0.006004
=head1 AUTHOR
diff --git a/lib/Log/Contextual/Router.pm b/lib/Log/Contextual/Router.pm
index 9f26420..2d7bdd0 100644
--- a/lib/Log/Contextual/Router.pm
+++ b/lib/Log/Contextual/Router.pm
@@ -1,5 +1,7 @@
package Log::Contextual::Router;
-$Log::Contextual::Router::VERSION = '0.006003';
+$Log::Contextual::Router::VERSION = '0.006004';
+# ABSTRACT: Route messages to loggers
+
use Moo;
use Scalar::Util 'blessed';
@@ -149,11 +151,11 @@ __END__
=head1 NAME
-Log::Contextual::Router
+Log::Contextual::Router - Route messages to loggers
=head1 VERSION
-version 0.006003
+version 0.006004
=head1 AUTHOR
diff --git a/lib/Log/Contextual/SimpleLogger.pm b/lib/Log/Contextual/SimpleLogger.pm
index 2ce3343..1149ace 100644
--- a/lib/Log/Contextual/SimpleLogger.pm
+++ b/lib/Log/Contextual/SimpleLogger.pm
@@ -1,5 +1,5 @@
package Log::Contextual::SimpleLogger;
-$Log::Contextual::SimpleLogger::VERSION = '0.006003';
+$Log::Contextual::SimpleLogger::VERSION = '0.006004';
# ABSTRACT: Super simple logger made for playing with Log::Contextual
@@ -70,7 +70,7 @@ Log::Contextual::SimpleLogger - Super simple logger made for playing with Log::C
=head1 VERSION
-version 0.006003
+version 0.006004
=head1 SYNOPSIS
diff --git a/lib/Log/Contextual/TeeLogger.pm b/lib/Log/Contextual/TeeLogger.pm
index 65ac01e..95b083b 100644
--- a/lib/Log/Contextual/TeeLogger.pm
+++ b/lib/Log/Contextual/TeeLogger.pm
@@ -1,5 +1,5 @@
package Log::Contextual::TeeLogger;
-$Log::Contextual::TeeLogger::VERSION = '0.006003';
+$Log::Contextual::TeeLogger::VERSION = '0.006004';
# ABSTRACT: Output to more than one logger
use strict;
@@ -54,7 +54,7 @@ Log::Contextual::TeeLogger - Output to more than one logger
=head1 VERSION
-version 0.006003
+version 0.006004
=head1 SYNOPSIS
diff --git a/lib/Log/Contextual/WarnLogger.pm b/lib/Log/Contextual/WarnLogger.pm
index f409648..28f3e21 100644
--- a/lib/Log/Contextual/WarnLogger.pm
+++ b/lib/Log/Contextual/WarnLogger.pm
@@ -1,5 +1,5 @@
package Log::Contextual::WarnLogger;
-$Log::Contextual::WarnLogger::VERSION = '0.006003';
+$Log::Contextual::WarnLogger::VERSION = '0.006004';
# ABSTRACT: logger for libraries using Log::Contextual
use strict;
@@ -129,7 +129,7 @@ Log::Contextual::WarnLogger - logger for libraries using Log::Contextual
=head1 VERSION
-version 0.006003
+version 0.006004
=head1 SYNOPSIS
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblog-contextual-perl.git
More information about the Pkg-perl-cvs-commits
mailing list