I've found many modules used for logging - but is there some standard/recommendation (I've checked "Writing Perl Modules for CPAN", permod/perlmodstyle ...) on how to approach logging from within the modules that you write?
I'm thinking along the lines of allowing the programmer that uses your module, to specify err/info/debug log file names (and/or file handles), and perhaps the level of logging that (s)he wants to appear. Or to disable logging - obviously :)Or if you know of any good examples of modules that have those implemented, that you can recommend.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |