Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Proper way to create packages and re-usable code?

by karlgoethebier (Abbot)
on Feb 15, 2016 at 20:33 UTC ( [id://1155290]=note: print w/replies, xml ) Need Help??


in reply to Proper way to create packages and re-usable code?

Some thoughts in a hurry: perhaps it might be a good idea to take a look at Log::Any?

From the friendly manual:

Getting a logger

The most convenient way to get a logger in your module is:
use Log::Any qw($log); our $log = Log::Any->get_logger;

Please see ibidem for details.

IMHO Log4j is fubar - as well as Log::Log4perl is.

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1155290]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-25 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found