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.27
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 Dave Rolsky <autarch@urth.org>
36
38 This software is Copyright (c) 2010 by Dave Rolsky.
39
40 This is free software, licensed under:
41
42 The Artistic License 2.0
43
44
45
46perl v5.12.2 2010-10-16 Log::Dispatch::ApacheLog(3)