Package : perl-Test-Log-Log4perl > RPM : perl-Test-Log-Log4perl-0.320.0-2.mga7.src.rpm
Basic items
Name | perl-Test-Log-Log4perl |
Version | 0.320.0 |
Release | 2.mga7 |
URL | http://metacpan.org/release/Test-Log-Log4perl |
Group | Development/Perl |
Summary | Test log4perl |
Size | 30KB |
Arch | noarch |
License | GPLv1+ or Artistic |
Description
This module can be used to test that you're logging the right thing with
Log::Log4perl. It checks that we get what, and only what, we expect logged
by your code.
The basic process is very simple. Within your test script you get one or
more loggers from *Test::Log::Log4perl* with the 'get_logger' method just
like you would with *Log::Log4perl*. You're going to use these loggers to
declare what you think the code you're going to test should be logging.
my $tlogger = Test::Log::Log4perl->get_logger("Foo::Bar");
Log::Log4perl. It checks that we get what, and only what, we expect logged
by your code.
The basic process is very simple. Within your test script you get one or
more loggers from *Test::Log::Log4perl* with the 'get_logger' method just
like you would with *Log::Log4perl*. You're going to use these loggers to
declare what you think the code you're going to test should be logging.
my $tlogger = Test::Log::Log4perl->get_logger("Foo::Bar");
Media information
Distribution release | Mageia 7 |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2018-09-20 15:22:21 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |