You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2004/08/23 20:51:50 UTC
cvs commit: modperl-docs/src/docs/2.0/user/design design.pod
stas 2004/08/23 11:51:49
Modified: src/docs/2.0/api Apache.pod
src/docs/2.0/api/Apache Log.pod
src/docs/2.0/user/design design.pod
Log:
fix class name
Revision Changes Path
1.7 +3 -3 modperl-docs/src/docs/2.0/api/Apache.pod
Index: Apache.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache.pod,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -u -r1.6 -r1.7
--- Apache.pod 15 Jul 2004 20:51:08 -0000 1.6
+++ Apache.pod 23 Aug 2004 18:51:49 -0000 1.7
@@ -18,11 +18,11 @@
There are several modules that require the I<Apache> class as the
first argument to the class methods that they define. For example
-C<L<Apache::Server|docs::2.0::api::Apache::ServerRec>> defines a class
+C<L<Apache::ServerRec|docs::2.0::api::Apache::ServerRec>> defines a class
method
-C<L<Apache-E<gt>server|docs::2.0::api::Apache::Server/C_server_>>:
+C<L<Apache-E<gt>server|docs::2.0::api::Apache::ServerRec/C_server_>>:
- use Apache::Server;
+ use Apache::ServerUtil;
my $server = Apache->server;
To use these functions and methods you need to load the module that
1.14 +3 -3 modperl-docs/src/docs/2.0/api/Apache/Log.pod
Index: Log.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/Log.pod,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -u -r1.13 -r1.14
--- Log.pod 12 Jul 2004 23:13:22 -0000 1.13
+++ Log.pod 23 Aug 2004 18:51:49 -0000 1.14
@@ -21,11 +21,11 @@
APR::SUCCESS, "log_serror logging at err level");
$s->log_serror(Apache::Log::LOG_MARK, Apache::LOG_DEBUG,
APR::ENOTIME, "debug print");
- Apache::Server->log_error("routine warning");
+ Apache::ServerRec->log_error("routine warning");
Apache->warn("routine warning");
Apache::warn("routine warning");
- Apache::Server->warn("routine warning");
+ Apache::ServerRec->warn("routine warning");
#in a handler
#------------
@@ -91,7 +91,7 @@
It will be logged only if the server log level is set to I<info> or
I<debug>. C<LogLevel> is set in the configuration file, but can be
changed using the
-C<L<$s-E<gt>loglevel()|docs::2.0::api::Apache::Server/C_loglevel_>>
+C<L<$s-E<gt>loglevel()|docs::2.0::api::Apache::ServerRec/C_loglevel_>>
method.
The filename and the line number of the caller are logged only if
1.12 +1 -1 modperl-docs/src/docs/2.0/user/design/design.pod
Index: design.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/design/design.pod,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -u -r1.11 -r1.12
--- design.pod 23 Dec 2002 23:31:22 -0000 1.11
+++ design.pod 23 Aug 2004 18:51:49 -0000 1.12
@@ -337,7 +337,7 @@
apr_int32_t => SvIV
apr_int64_t => SvNV
- server_rec => SvRV (Perl object blessed into the Apache::Server class)
+ server_rec => SvRV (Perl object blessed into the Apache::ServerRec class)
=back
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org