Log::Dispatch::ApacheLog - Object for logging to Apache::Log objects |
Log::Dispatch::ApacheLog - 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 the Apache::Log manpage class.
The constructor takes the following parameters in addition to the standard parameters documented in the Log::Dispatch::Output manpage:
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)
Log::Dispatch::ApacheLog - Object for logging to Apache::Log objects |