Clarrify debug documentation
Tomas Doran [Wed, 27 Jan 2010 20:12:46 +0000 (20:12 +0000)]
Changes
lib/Catalyst.pm

diff --git a/Changes b/Changes
index 12cc5f2..f68cba7 100644 (file)
--- a/Changes
+++ b/Changes
@@ -12,6 +12,7 @@
 
   Documentation:
    - Clarify that uri_for_action works on private paths, with example.
+   - Clarify documentation about debug
 
   Deprecations:
    - Saying use Catalyst::Test; (without an application name or () to stop
index a0bb135..0165a44 100644 (file)
@@ -243,6 +243,9 @@ environment with CATALYST_DEBUG or <MYAPP>_DEBUG. The environment
 settings override the application, with <MYAPP>_DEBUG having the highest
 priority.
 
+This sets the log level to 'debug' and enables full debug output on the
+error screen. If you only want the latter, see L<< $c->debug >>.
+
 =head2 -Engine
 
 Forces Catalyst to use a specific engine. Omit the
@@ -931,6 +934,8 @@ You can enable debug mode in several ways:
 
 =back
 
+The first three also set the log level to 'debug'.
+
 Calling C<< $c->debug(1) >> has no effect.
 
 =cut