mod_perl logo perl icon
previous page: Apache::File - advanced functions for manipulating files at the server sidepage up: mod_perl 1.0 APInext page: Apache::URI - URI component parsing and unparsing

Apache::Log - Interface to Apache logging






The mod_perl Developer's Cookbook

The mod_perl Developer's Cookbook

By Geoffrey Young, Paul Lindner, Randy Kobes
mod_perl Pocket Reference

mod_perl Pocket Reference

By Andrew Ford
Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C

By Lincoln Stein, Doug MacEachern
Embedding Perl in HTML with Mason

Embedding Perl in HTML with Mason

By Dave Rolsky, Ken Williams
mod_perl2 User's Guide

mod_perl2 User's Guide

By Stas Bekman, Jim Brandt
Practical mod_perl

Practical mod_perl

By Stas Bekman, Eric Cholet


Table of Contents

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;


TOP

Description

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

The methods listed below can be called as $r>meth($error), and the error message will appear in the error log depending on the value of LogLevel.



TOP

Maintainers

Maintainer is the person(s) you should contact with updates, corrections and patches.



TOP

Authors

Only the major authors are listed above. For contributors see the Changes file.



TOP

See Also

mod_perl, Apache.






TOP
previous page: Apache::File - advanced functions for manipulating files at the server sidepage up: mod_perl 1.0 APInext page: Apache::URI - URI component parsing and unparsing