X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FLog.pm;h=f2a6aee5aca243690f171ce3cdfb80804257eee0;hb=a268a0112398ac10d8fabd86ed28a183cbe4398e;hp=6bb131a98eee3ff026eac3bd0cbd0775b1b7b621;hpb=c9afa5fc4ed6c36afe6653d7d8fbb9909994c1a8;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Log.pm b/lib/Catalyst/Log.pm index 6bb131a..f2a6aee 100644 --- a/lib/Catalyst/Log.pm +++ b/lib/Catalyst/Log.pm @@ -22,8 +22,10 @@ See L. =head1 DESCRIPTION -This module provides the default, simple logging functionality for Catalyst. -If you want something different set C<$c->log> in your application module, e.g.: +This module provides the default, simple logging functionality for +Catalyst. +If you want something different set C<$c->log> in your application +module, e.g.: $c->log( MyLogger->new ); @@ -76,19 +78,11 @@ sub _format { =back -=head1 DEPRECATED METHODS - -=over 4 - -=item $log->dump($reference) - -Logs a Data::Dumper of reference. - =cut -sub dump { shift->_format( 'dump', Dumper( $_[1] ) ) } +# Private - Logs a Data::Dumper of reference. +sub _dump { shift->_format( 'dump', Dumper( $_[0] ) ) } -=back =head1 SEE ALSO @@ -97,11 +91,12 @@ L. =head1 AUTHOR Sebastian Riedel, C +Marcus Ramberg, C =head1 COPYRIGHT -This program is free software, you can redistribute it and/or modify it under -the same terms as Perl itself. +This program is free software, you can redistribute it and/or modify +it under the same terms as Perl itself. =cut