X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FLog.pm;h=d7776f3c3742372ba5f1361daebc552d0cdb3b39;hb=9b2bc37b4bcee56036419a392d922f053a130420;hp=7ae9f0720fb48bc70da0fb0424620b622709c440;hpb=fc7ec1d96ee55d1bf42af3abce155ecb717b9e2b;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Log.pm b/lib/Catalyst/Log.pm index 7ae9f07..d7776f3 100644 --- a/lib/Catalyst/Log.pm +++ b/lib/Catalyst/Log.pm @@ -2,6 +2,9 @@ package Catalyst::Log; use strict; use base 'Class::Accessor::Fast'; +use Data::Dumper; + +$Data::Dumper::Terse = 1; =head1 NAME @@ -25,6 +28,14 @@ Log debug informations. sub debug { _format( 'debug', $_[1] ) } +=head3 dump + +Dump stuff. + +=cut + +sub dump { _format( 'dump', Dumper( $_[1] ) ) } + =head3 error Log error informations.