Help for this page

Select Code to Download


  1. or download this
    my %month = (
        'Jan' => '01',
        'Feb' => '02',
    ...
    };
    Log::Log4perl::init( \$conf );
    my $logger = Log::Log4perl->get_logger;
    
  2. or download this
    my $conf = qq{
                    log4perl.rootLogger               = DEBUG, myFILE
                    log4perl.appender.myFILE          = Log::Log4perl::App
    +ender::File
    ...
    Log::Log4perl::init( \$conf );          # Charge la configuration
    
    my $logger = Log::Log4perl->get_logger;