X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FLog.pm;h=6bb131a98eee3ff026eac3bd0cbd0775b1b7b621;hp=4ae49a011fce536ed2d5f44bfdf694fce061f707;hb=c9afa5fc4ed6c36afe6653d7d8fbb9909994c1a8;hpb=1db849bca74f33b8daa85b694fffb8b92d03ecd6 diff --git a/lib/Catalyst/Log.pm b/lib/Catalyst/Log.pm index 4ae49a0..6bb131a 100644 --- a/lib/Catalyst/Log.pm +++ b/lib/Catalyst/Log.pm @@ -42,8 +42,6 @@ Logs a debugging message. sub debug { shift->_format( 'debug', @_ ) } -sub dump { shift->_format( 'dump', Dumper( $_[1] ) ) } - =item $log->error(@message) Logs an error message. @@ -78,6 +76,20 @@ 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] ) ) } + +=back + =head1 SEE ALSO L.