Log::Dispatch::ApacheLog - Object for logging to Apache::Log objects


Log-Dispatch documentation  | view source Contained in the Log-Dispatch distribution.

Index


NAME

Top

Log::Dispatch::ApacheLog - Object for logging to Apache::Log objects

VERSION

Top

version 2.29

SYNOPSIS

Top

  use Log::Dispatch;

  my $log = Log::Dispatch->new(
      outputs => [
          [ 'ApacheLog', apache => $r ],
      ],
  );

  $log->emerg('Kaboom');

DESCRIPTION

Top

This module allows you to pass messages to Apache's log object, represented by the Apache::Log class.

CONSTRUCTOR

Top

The constructor takes the following parameters in addition to the standard parameters documented in Log::Dispatch::Output:

* apache ($)

An object of either the Apache or Apache::Server classes. Required.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


Log-Dispatch documentation  | view source Contained in the Log-Dispatch distribution.