Test::AutoBuild::MonitUserLContributed PeTest::AutoBuild::Monitor::Log4perl(3)NAMETest::AutoBuild::Monitor::Log4perl - Monitor progress through a
log4perl
SYNOPSIS
use Test::AutoBuild::Monitor::Log4perl
my $monitor = Test::AutoBuild::Log4perl->new()
# Emit some events
$monitor->notify("begin-stage", "build", time);
$monitor->notify("end-stage", "build", time, $status);
DESCRIPTION
This module sends monitoring events to Log4perl. The events are logged
under the category Test::AutoBuild::Monitor::Log4perl with a priority
of INFO.
CONFIGURATION
This module merely takes the standard configuration parameters for
"Test::AutoBuild::Monitor"
EXAMPLE
log = {
label = Log4perl monitor
module = Test::AutoBuild::Monitor::Log4perl
}
METHODS
$monitor->process($event_name, @args);
This method sends the event name and arguments to Log4Perl category
matching this module's package name. The arguments are simply sent
as a comma separated list.
AUTHORS
Daniel Berrange <dan@berrange.com>
COPYRIGHT
Copyright (C) 2005 Daniel Berrange <dan@berrange.com>
SEE ALSOperl(1), Test::AutoBuild::Monitor
perl v5.14.12011-09Test::AutoBuild::Monitor::Log4perl(3)