1Log::Dispatch::ApacheLoUgs(e3r)Contributed Perl DocumentLaotgi:o:nDispatch::ApacheLog(3)
2
3
4
6 Log::Dispatch::ApacheLog - Object for logging to Apache::Log objects
7
9 version 2.69
10
12 use Log::Dispatch;
13
14 my $log = Log::Dispatch->new(
15 outputs => [
16 [ 'ApacheLog', apache => $r ],
17 ],
18 );
19
20 $log->emerg('Kaboom');
21
23 This module allows you to pass messages to Apache's log object,
24 represented by the Apache::Log class.
25
27 The constructor takes the following parameters in addition to the
28 standard parameters documented in Log::Dispatch::Output:
29
30 ยท apache ($)
31
32 An object of either the Apache or Apache::Server classes. Required.
33
35 Bugs may be submitted at
36 <https://github.com/houseabsolute/Log-Dispatch/issues>.
37
38 I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
39
41 The source code repository for Log-Dispatch can be found at
42 <https://github.com/houseabsolute/Log-Dispatch>.
43
45 Dave Rolsky <autarch@urth.org>
46
48 This software is Copyright (c) 2019 by Dave Rolsky.
49
50 This is free software, licensed under:
51
52 The Artistic License 2.0 (GPL Compatible)
53
54 The full text of the license can be found in the LICENSE file included
55 with this distribution.
56
57
58
59perl v5.30.1 2020-01-30 Log::Dispatch::ApacheLog(3)