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
29 log = {
30 label = Log4perl monitor
31 module = Test::AutoBuild::Monitor::Log4perl
32 }
33
35 $monitor->process($event_name, @args);
36 This method sends the event name and arguments to Log4Perl category
37 matching this module's package name. The arguments are simply sent
38 as a comma separated list.
39
41 Daniel Berrange <dan@berrange.com>
42
44 Copyright (C) 2005 Daniel Berrange <dan@berrange.com>
45
47 perl(1), Test::AutoBuild::Monitor
48
49
50
51perl v5.8.8 2007-12-T0e9st::AutoBuild::Monitor::Log4perl(3)