Apache::Log - Interface to Apache logging






Short Cuts



The Apache Software Foundation



Sister Sites



Practical mod_perl

Practical mod_perl

By Stas Bekman, Eric Cholet


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



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.

  • emerg
  • alert
  • crit
  • error
  • warn
  • notice
  • info
  • debug


TOP

Maintainers

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



TOP

Authors

  • Doug MacEachern

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 side page up: mod_perl 1.0 API next page: Apache::URI - URI component parsing and unparsing

Last modified Sat Feb 15 17:38:38 2014

Changes file

Have comments? Please send them to the modperl users mailing list.

Use of the Camel for Perl is a trademark of O'Reilly & Associates, and is used by permission.



AltStyle によって変換されたページ (->オリジナル) /