Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Log::Log4Perl best practices

by water (Deacon)
on Jun 03, 2004 at 10:25 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://360039]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found