File: Log.pm

package info (click to toggle)
libapache-mod-perl 1.16-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,580 kB
  • ctags: 1,064
  • sloc: ansic: 4,489; perl: 4,415; sh: 305; makefile: 137
file content (64 lines) | stat: -rw-r--r-- 754 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package Apache::Log;

use strict;
use Apache ();
use vars qw($VERSION @ISA);

use DynaLoader ();
@ISA = qw(DynaLoader);

$VERSION = '1.01';

if($ENV{MOD_PERL}) {
    bootstrap Apache::Log $VERSION;
}

1;
__END__

=head1 NAME

Apache::Log - Interface to Apache logging

=head1 SYNOPSIS

  use Apache::Log ();
  my $rlog = $r->log;
  $rlog->debug("You only see this if `LogLevel' is set to `debug'");

  my $slog = $r->server->log;
 
=head1 DESCRIPTION

The Apache::Log module provides an interface to Apache's I<ap_log_error>
and I<ap_log_rerror> routines.

=over 4

=item emerg

=item alert

=item crit

=item error

=item warn

=item notice

=item info

=item debug

=back

=head1 AUTHOR

Doug MacEachern

=head1 SEE ALSO

mod_perl(3), Apache(3).

=cut