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.71
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
39 The source code repository for Log-Dispatch can be found at
40 <https://github.com/houseabsolute/Log-Dispatch>.
41
43 Dave Rolsky <autarch@urth.org>
44
46 This software is Copyright (c) 2023 by Dave Rolsky.
47
48 This is free software, licensed under:
49
50 The Artistic License 2.0 (GPL Compatible)
51
52 The full text of the license can be found in the LICENSE file included
53 with this distribution.
54
55
56
57perl v5.38.0 2023-07-20 Log::Dispatch::ApacheLog(3)