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

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#DESCRIPTION)

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

# [CONSTRUCTOR](#CONSTRUCTOR)

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-10-24 perl v5.44.0

---

Document: Log::Dispatch::ApacheLog(3pm) from perl-log-dispatch 2.71-r2 (Chainguard OS)
Source: https://github.com/houseabsolute/Log-Dispatch
