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



NAME

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


VERSION

version 2.54


SYNOPSIS

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


DESCRIPTION

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


CONSTRUCTOR

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


AUTHOR

Dave Rolsky <autarch@urth.org>


COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
 Log::Dispatch::ApacheLog - Object for logging to Apache::Log objects