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=a7e175a5e66cb9261bd152a4061a4db637983df4;hb=ebde193e2c1af944fc589640ae774732b344a75e;hpb=4b4d38842b2383a70a54bcadb493505950b469dd diff --git a/lib/Catalyst/Manual/Tutorial/Debugging.pod b/lib/Catalyst/Manual/Tutorial/Debugging.pod index a7e175a..22d7286 100644 --- a/lib/Catalyst/Manual/Tutorial/Debugging.pod +++ b/lib/Catalyst/Manual/Tutorial/Debugging.pod @@ -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) %]>.