Hello nysus,
Have you considered Log::Any? It can log to STDERR or just skip logging by default, yet if the user of your module wants Log4perl, Log::Any will work with it just fine.
I'd say it's a bad idea to impose Log::Log4perl upon your future users. It is a very good logger, but not the only one out there.
In reply to Re: Leave log4perl debug code in cpan module?
by Dallaylaen
in thread Leave log4perl debug code in cpan module?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |