Daniel P. Berrangé > Test-AutoBuild > Test::AutoBuild::Monitor::Log4perl

Download:
Test-AutoBuild-1.2.4.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Test::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 ALSO ^

perl(1), Test::AutoBuild::Monitor

syntax highlighting: