aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Catalyst-Plugin-LogWarnings/pkg-descr
blob: 2f97cb3c5912f1d8061b5167aad55d08f14e0d31 (plain) (blame)
1
2
3
4
5
6
7
8
9
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: https://metacpan.org/release/Catalyst-Plugin-LogWarnings