logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Log::Dispatch::ApacheLog - Object for logging to Apache::Log objects

Author

       Dave Rolsky <autarch@urth.org>

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.

Description

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

Name

       Log::Dispatch::ApacheLog - Object for logging to Apache::Log objects

Source

       The       source      code      repository      for      Log-Dispatch      can      be      found      at
       <https://github.com/houseabsolute/Log-Dispatch>.

Support

       Bugs may be submitted at <https://github.com/houseabsolute/Log-Dispatch/issues>.

Synopsis

         use Log::Dispatch;

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

         $log->emerg('Kaboom');

Version

       version 2.71

See Also