Help for this page

Select Code to Download


  1. or download this
    package My::Class;
    use Moose;
    with 'MooseX::Log::Log4perl';
    ...
    $self->log->info("CREATED Object: " . $self->name);
    
  2. or download this
    # my perl-script using My::Class
    my $fileLogger = Log::Log4perl->get_logger('file');