X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FLog.pm;h=833087bebb67170ce3f67c53635aa88fc7e91d82;hb=1927c219b552ac80dff59c235a51d422ac5b9d25;hp=4ae49a011fce536ed2d5f44bfdf694fce061f707;hpb=1db849bca74f33b8daa85b694fffb8b92d03ecd6;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Log.pm b/lib/Catalyst/Log.pm index 4ae49a0..833087b 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( $_[0] ) ) } + +=back + =head1 SEE ALSO L.