Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Log::Log4Perl best practices

by water (Deacon)
on Jun 03, 2004 at 10:25 UTC ( #360039=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyPackage;
    use Log::Log4perl qw(:easy);
    sub method {
        DEBUG "Doing something!";
    }
    
  2. or download this
    use Log::Log4perl qw(:levels);
    Log::Log4perl->init("/home/mycode/log4perl-conf.txt");
    my $logger = Log::Log4perl->get_logger;
    $logger->level($DEBUG);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2019-10-16 21:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?