9 lines
261 B
Text
9 lines
261 B
Text
In MyApp.pm:
|
|
|
|
use Catalyst qw/LogWarnings/;
|
|
|
|
After that, any warn statement that's executed during action
|
|
processing is sent to the log $c->log as a warning (instead of
|
|
being dumped to STDERR).
|
|
|
|
WWW: http://search.cpan.org/dist/Catalyst-Plugin-LogWarnings/
|