Log::Dispatch::ApacheLog - Object for logging to Apache::Log objects
version 2.50
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.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2015 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Log::Dispatch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Dispatch
CPAN shell
perl -MCPAN -e shell install Log::Dispatch
For more information on module installation, please visit the detailed CPAN module installation guide.