use Apache::Log (); my $rlog = $r->log; $rlog->debug("You only see this if `LogLevel' is set to `debug'"); my $slog = $r->server->log;
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
.
Maintainer is the person(s) you should contact with updates, corrections and patches.
Last modified Sat Feb 15 17:38:38 2014
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.