From: hkclark Date: Thu, 1 Sep 2011 12:31:05 +0000 (-0400) Subject: Mention Log4perl and Log::Dispatch; fix path to match VM X-Git-Tag: 5.9003~25^2~27 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=0d360ef7b7580ea119e3e2d05dd78962b911df23 Mention Log4perl and Log::Dispatch; fix path to match VM --- diff --git a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod index 8afd049..fef91dd 100644 --- a/lib/Catalyst/Manual/Tutorial/07_Debugging.pod +++ b/lib/Catalyst/Manual/Tutorial/07_Debugging.pod @@ -107,6 +107,12 @@ You can also use L in both Catalyst code (Clog-Edebug("\$var is: ".Dumper($var));)>) and TT templates (C<[% Dumper.dump(book) %]>. +B Whether you are a logging fanatic or not, we strongly recommend +that you take advantage of L or L. It's +easy to use L with either of these and they will provide +a huge amount of extra functionality that you will want in virtually +every production application you run or support. + =head1 RUNNING CATALYST UNDER THE PERL DEBUGGER @@ -173,7 +179,7 @@ in. Once the breakpoint is encountered in the C method, the console session running the development server will drop to the Perl debugger prompt: - MyApp::Controller::Books::list(/home/me/MyApp/script/../lib/MyApp/Controller/Books.pm:48): + MyApp::Controller::Books::list(/root/MyApp/script/../lib/MyApp/Controller/Books.pm:48): 48: $c->stash->{books} = [$c->model('DB::Book')->all]; DB<1> @@ -185,7 +191,7 @@ C into methods/subroutines): DB<1> n SELECT me.id, me.title, me.rating, me.created, me.updated FROM book me: - MyApp::Controller::Books::list(/home/me/MyApp/script/../lib/MyApp/Controller/Books.pm:53): + MyApp::Controller::Books::list(/root/MyApp/script/../lib/MyApp/Controller/Books.pm:53): 53: $c->stash->{template} = 'books/list.tt2'; DB<1>