Skip to content

Commit

Permalink
merged Mode and Logging sections in tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 8, 2013
1 parent c1fb1db commit c2eb946
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/Mojolicious/Lite.pm
Expand Up @@ -905,16 +905,14 @@ environment variable, the default will usually be C<development>.
$ ./myapp.pl daemon -m production
This also affects many other aspects of the framework, such as mode specific
C<exception> and C<not_found> templates.
=head2 Logging
L<Mojo::Log> messages will be automatically written to C<STDERR> or a
C<log/$mode.log> file if a C<log> directory exists.
$ mkdir log
Mode changes also affects many other aspects of the framework, such as mode
specific C<exception> and C<not_found> templates.
=head2 Testing
Testing your application is as easy as creating a C<t> directory and filling
Expand Down

0 comments on commit c2eb946

Please sign in to comment.