Rechercher une page de manuel
Test::AutoBuild::Monitor::Log4perl.3pm
Langue: en
Version: 2007-12-08 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Test::AutoBuild::Monitor::Log4perl - Monitor progress through a log4perlSYNOPSIS
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 ALSO
perl(1), Test::AutoBuild::MonitorContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre