X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FDebugging.pod;h=22d72868b87c1eb827b89ef9eeba221e40099e13;hp=85e80fd8dbd3f847aafc6eaf975ac54347d1e8db;hb=ebde193e2c1af944fc589640ae774732b344a75e;hpb=acbd7bddabb7f0d62f0e031e21d440a0ae496d6d diff --git a/lib/Catalyst/Manual/Tutorial/Debugging.pod b/lib/Catalyst/Manual/Tutorial/Debugging.pod index 85e80fd..22d7286 100644 --- a/lib/Catalyst/Manual/Tutorial/Debugging.pod +++ b/lib/Catalyst/Manual/Tutorial/Debugging.pod @@ -1,11 +1,11 @@ =head1 NAME -Catalyst::Manual::Tutorial::Debugging - Catalyst Tutorial - Part 7: Debugging +Catalyst::Manual::Tutorial::Debugging - Catalyst Tutorial - Chapter 7: Debugging =head1 OVERVIEW -This is B for the Catalyst tutorial. +This is B for the Catalyst tutorial. L @@ -56,7 +56,7 @@ L =head1 DESCRIPTION -This part of the tutorial takes a brief look at the primary options +This chapter of the tutorial takes a brief look at the primary options available for troubleshooting Catalyst applications. Note that when it comes to debugging and troubleshooting, there are two @@ -93,6 +93,16 @@ template view use: [% c.log.debug("This is a test log message") %] +As with many other logging facilities, you a method is defined for +each of the following "logging levels" (in increasing order of +severity/importance): + + $c->log->debug + $c->log->info + $c->log->warn + $c->log->error + $c->log->fatal + You can also use L in both Catalyst code (Clog-Edebug("\$var is: ".Dumper($var));)>) and TT templates (C<[% Dumper.dump(book) %]>.