Should one initialize Log::Log4perl and add the BEGIN block both in the application base class?package MyApp; use Moose; use Log::Log4perl qw(:easy); with 'MooseX::Log::Log4perl'; BEGIN { Log::Log4perl->easy_init(); }
In reply to Re: How would you extend MooseX::Log::Log4perl?
by spazm
in thread How would you extend MooseX::Log::Log4perl?
by metaperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |