Skip to content
Browse files

- Raised to version 0.2.1

 - Repackage to fix CPAN test issues with wrong test.pl (accidently added to MANIFEST)
 - Corrected pod typo
 - Improved pod and add link to ::Easy
 - Added MANIFEST.SKIP to alle correct MANIFEST generation
  • Loading branch information...
1 parent 5cbac6c commit db51f18aafa3d0a543fe793a99bf926bd109d9c0 @lammel committed Jul 14, 2008
Showing with 44 additions and 8 deletions.
  1. +6 −0 Changes
  2. +25 −0 MANIFEST.SKIP
  3. +1 −1 META.yml
  4. +8 −3 lib/MooseX/Log/Log4perl.pm
  5. +4 −4 lib/MooseX/Log/Log4perl/Easy.pm
View
6 Changes
@@ -1,5 +1,11 @@
Revision history for MooseX::Log::Log4perl
+0.2.1 Mon Jul 14 2008
+ Corrected MANIFEST (added MANIFEST.SKIP to generate it correctly now)
+ Improved pod and fixed typo in MooseX::Log::Log4perl::Easy
+ Cleanup of tests and pod
+ Repackage as 0.2.1 to fix failing cpan tests
+
0.2 Mon Jul 14 2008
Added MooseX::Log::Log4perl::Easy for simple log interface
this adds methods $self->log_error, $self->log_debug, ... for all log levels
View
25 MANIFEST.SKIP
@@ -0,0 +1,25 @@
+^Build$
+^_build
+^blib
+^Makefile$
+^Makefile\.[a-z]+$
+^pm_to_blib$
+^\.
+CVS
+.svn
+^MANIFEST\.SKIP$
+,v$
+^tmp/
+\.old$
+\.bak$
+~$
+^#
+\.shar$
+\.tar$
+\.tgz$
+\.tar\.gz$
+\.zip$
+_uu$
+t/zz.*
+test\.[co]
+t/.*\.tmp
View
2 META.yml
@@ -19,4 +19,4 @@ no_index:
requires:
Log::Log4perl: 0
Moose: 0
-version: 0.2
+version: 0.2.1
View
11 lib/MooseX/Log/Log4perl.pm
@@ -4,7 +4,7 @@ use Moose::Role;
use Log::Log4perl;
use Data::Dumper;
-our $VERSION = '0.2';
+our $VERSION = '0.2.1';
has 'logger' => (
is => 'rw',
@@ -49,15 +49,15 @@ MooseX::Log::Log4perl - A Logging Role for Moose based on Log::Log4perl
=head1 VERSION
-This document describes MooseX::Log::Log4perl version 0.1
+This document describes MooseX::Log::Log4perl version 0.2.1
=head1 SYNOPSIS
package MyApp;
use Moose;
use Log::Log4perl qw(:easy);
- with MooseX::Log::Log4perl;
+ with 'MooseX::Log::Log4perl';
BEGIN {
Log::Log4perl->easy_init();
@@ -78,6 +78,11 @@ Otherwise the default initialization will happen, probably not doing the things
For compatibility the C<logger> attribute can be accessed to use a common interface for application logging.
+For simple logging needs use L<MooseX::Log::Log4perl::Easy> to directly add log_<level> methods to your class
+instance.
+
+ $self->log_info("Dummy");
+
=head1 ACCESSORS
=head2 logger
View
8 lib/MooseX/Log/Log4perl/Easy.pm
@@ -4,7 +4,7 @@ use Moose::Role;
with 'MooseX::Log::Log4perl';
-our $VERSION = '0.2';
+our $VERSION = '0.2.1';
has 'logger' => (
is => 'rw',
@@ -26,19 +26,19 @@ __END__
=head1 NAME
-MooseX::Log::Log4perl::Eays - A Logging Role with easy interface for Moose based on L<MooseX::Log::Log4perl>
+MooseX::Log::Log4perl::Easy - A Logging Role with easy interface for Moose based on L<MooseX::Log::Log4perl>
=head1 VERSION
-This document describes MooseX::Log::Log4perl::Easy version 0.2
+This document describes MooseX::Log::Log4perl::Easy version 0.2.1
=head1 SYNOPSIS
package MyApp;
use Moose;
use Log::Log4perl qw(:easy);
- with MooseX::Log::Log4perl::Easy;
+ with 'MooseX::Log::Log4perl::Easy';
BEGIN {
Log::Log4perl->easy_init();

0 comments on commit db51f18

Please sign in to comment.
Something went wrong with that request. Please try again.