1Test::AutoBuild::MonitoUrs:e:rLoCgo4npterrilb(u3t)ed PerTlesDto:c:uAmuetnotBautiilodn::Monitor::Log4perl(3)
2
3
4
6 Test::AutoBuild::Monitor::Log4perl - Monitor progress through a
7 log4perl
8
10 use Test::AutoBuild::Monitor::Log4perl
11
12 my $monitor = Test::AutoBuild::Log4perl->new()
13
14 # Emit some events
15 $monitor->notify("begin-stage", "build", time);
16 $monitor->notify("end-stage", "build", time, $status);
17
19 This module sends monitoring events to Log4perl. The events are logged
20 under the category Test::AutoBuild::Monitor::Log4perl with a priority
21 of INFO.
22
24 This module merely takes the standard configuration parameters for
25 "Test::AutoBuild::Monitor"
26
27 EXAMPLE
28 log = {
29 label = Log4perl monitor
30 module = Test::AutoBuild::Monitor::Log4perl
31 }
32
34 $monitor->process($event_name, @args);
35 This method sends the event name and arguments to Log4Perl category
36 matching this module's package name. The arguments are simply sent
37 as a comma separated list.
38
40 Daniel Berrange <dan@berrange.com>
41
43 Copyright (C) 2005 Daniel Berrange <dan@berrange.com>
44
46 perl(1), Test::AutoBuild::Monitor
47
48
49
50perl v5.12.1 2007-12-T0e8st::AutoBuild::Monitor::Log4perl(3)