OS Manuals

Log::Dispatch::ApacheLog(3pm)

Log::Dispatch::ApacheLog(3) User Contributed Perl Documentation Log::Dispatch::ApacheLog(3)

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

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

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.

2026-04-13 perl v5.42.2

perl-log-dispatch 2.71-r1 · os · ingested 2026-09-30