Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Log::Log4Perl best practices

by Joost (Canon)
on May 31, 2004 at 22:14 UTC ( #357857=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Log::Log4perl qw(:levels);
    my $logger = Log::Log4perl->get_logger(__PACKAGE__);
    $logger->level($DEBUG);
    
  2. or download this
    use Mylog;
    #...
    $LOG->warn("bla"); # $LOG is presumably a package global
    
  3. or download this
    use MyLog 'debug';
    
    $LOG->warn("stuff");
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2020-09-18 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (112 votes). Check out past polls.

    Notices?