Log::Dispatch::ApacheLog
Object for logging to Apache::Log objects
- Provided by: liblog-dispatch-perl (Version: 2.54-1)
- Report a bug
Object for logging to Apache::Log objects
version 2.54
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:
An object of either the Apache or Apache::Server classes. Required.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2016 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)