[PATCH] PEAR::Log containers doc update
| From: | Rob Lineweaver | Date: | Wed, 17 Mar 2004 16:30:08 +0000 |
| Subject: | [PATCH] PEAR::Log containers doc update | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3026@lists.php.net to get a copy of this message | ||
Greetings,
The attached patch updates peardoc/en/package/logging/log/container.xml to
include all of the available containers in the current version of PEAR::Log.
It also alphabetizes the list of containers.
Let me know if I'm not sending this to the appropriate list.
Rob Lineweaver
Network Administrator
Harrisonburg City Public Schools
--
"Not everything that can be counted counts, and not everything that counts
can be counted." - Albert Einstein
? containers.diff Index: en/package/logging/log/container.xml =================================================================== RCS file: /repository/peardoc/en/package/logging/log/container.xml,v retrieving revision 1.4 diff -u -r1.4 container.xml --- en/package/logging/log/container.xml 14 Oct 2003 09:35:29 -0000 1.4 +++ en/package/logging/log/container.xml 17 Mar 2004 15:32:03 -0000 @@ -7,7 +7,37 @@ containers. </refpurpose> </refnamediv> + + <refsect1 id="package.logging.log.container.composite"> + <title>'composite' - Log_composite</title> + <para> + Creates a virtual log container consisting of multiple children + containers. This makes it possible to send the same events to + a collection of other Log instances. + </para> + </refsect1> + <refsect1 id="package.logging.log.container.console"> + <title>'console' - Log_console</title> + <para> + Writes log messages to the text console. + </para> + </refsect1> + + <refsect1 id="package.logging.log.container.display"> + <title>'display' - Log_display</title> + <para> + Writes log messages to the browser display (using <function>echo</function>). + </para> + </refsect1> + + <refsect1 id="package.logging.log.container.error_log"> + <title>'error_log' - Log_error_log</title> + <para> + Logs messages using PHP's <function>error_log</function> function. + </para> + </refsect1> + <refsect1 id="package.logging.log.container.file"> <title>'file' - Log_file</title> <para> @@ -16,6 +46,15 @@ </para> </refsect1> + <refsect1 id="package.logging.log.container.mail"> + <title>'mail' - Log_mail</title> + <para> + Sends log messages to a mailbox. The mail is actually sent when + you <function>close</function> the logger, or when the destructor + is called (when the script is terminated). + </para> + </refsect1> + <refsect1 id="package.logging.log.container.mcal"> <title>'mcal' - Log_mcal</title> <para> @@ -25,6 +64,14 @@ </para> </refsect1> + <refsect1 id="package.logging.log.container.null"> + <title>'null' - Log_null</title> + <para> + Simply consumes log events. This container can be used for + notifications when there is no need to log the message. + </para> + </refsect1> + <refsect1 id="package.logging.log.container.sql"> <title>'sql' - Log_sql</title> <para> @@ -32,6 +79,13 @@ </para> </refsect1> + <refsect1 id="package.logging.log.container.sqlite"> + <title>'sqlite' - Log_sqlite</title> + <para> + Stores data in an SQLite database using PHP's native SQLite functions. + </para> + </refsect1> + <refsect1 id="package.logging.log.container.syslog"> <title>'syslog' - Log_syslog</title> <para> @@ -40,21 +94,13 @@ </para> </refsect1> - <refsect1 id="package.logging.log.container.mail"> - <title>'mail' - Log_mail</title> + <refsect1 id="package.logging.log.container.win"> + <title>'win' - Log_win</title> <para> - Sends log messages to a mailbox. The mail is actually sent when - you <function>close</function> the logger, or when the destructor - is called (when the script is terminated). + Displays log messages in a separate browser window. </para> </refsect1> - <refsect1 id="package.logging.log.container.console"> - <title>'console' - Log_console</title> - <para> - Writes log messages to the text console. - </para> - </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables:
? containers.diff Index: en/package/logging/log/container.xml =================================================================== RCS file: /repository/peardoc/en/package/logging/log/container.xml,v retrieving revision 1.4 diff -u -r1.4 container.xml --- en/package/logging/log/container.xml 14 Oct 2003 09:35:29 -0000 1.4 +++ en/package/logging/log/container.xml 17 Mar 2004 15:32:03 -0000 @@ -7,7 +7,37 @@ containers. </refpurpose> </refnamediv> + + <refsect1 id="package.logging.log.container.composite"> + <title>'composite' - Log_composite</title> + <para> + Creates a virtual log container consisting of multiple children + containers. This makes it possible to send the same events to + a collection of other Log instances. + </para> + </refsect1> + <refsect1 id="package.logging.log.container.console"> + <title>'console' - Log_console</title> + <para> + Writes log messages to the text console. + </para> + </refsect1> + + <refsect1 id="package.logging.log.container.display"> + <title>'display' - Log_display</title> + <para> + Writes log messages to the browser display (using <function>echo</function>). + </para> + </refsect1> + + <refsect1 id="package.logging.log.container.error_log"> + <title>'error_log' - Log_error_log</title> + <para> + Logs messages using PHP's <function>error_log</function> function. + </para> + </refsect1> + <refsect1 id="package.logging.log.container.file"> <title>'file' - Log_file</title> <para> @@ -16,6 +46,15 @@ </para> </refsect1> + <refsect1 id="package.logging.log.container.mail"> + <title>'mail' - Log_mail</title> + <para> + Sends log messages to a mailbox. The mail is actually sent when + you <function>close</function> the logger, or when the destructor + is called (when the script is terminated). + </para> + </refsect1> + <refsect1 id="package.logging.log.container.mcal"> <title>'mcal' - Log_mcal</title> <para> @@ -25,6 +64,14 @@ </para> </refsect1> + <refsect1 id="package.logging.log.container.null"> + <title>'null' - Log_null</title> + <para> + Simply consumes log events. This container can be used for + notifications when there is no need to log the message. + </para> + </refsect1> + <refsect1 id="package.logging.log.container.sql"> <title>'sql' - Log_sql</title> <para> @@ -32,6 +79,13 @@ </para> </refsect1> + <refsect1 id="package.logging.log.container.sqlite"> + <title>'sqlite' - Log_sqlite</title> + <para> + Stores data in an SQLite database using PHP's native SQLite functions. + </para> + </refsect1> + <refsect1 id="package.logging.log.container.syslog"> <title>'syslog' - Log_syslog</title> <para> @@ -40,21 +94,13 @@ </para> </refsect1> - <refsect1 id="package.logging.log.container.mail"> - <title>'mail' - Log_mail</title> + <refsect1 id="package.logging.log.container.win"> + <title>'win' - Log_win</title> <para> - Sends log messages to a mailbox. The mail is actually sent when - you <function>close</function> the logger, or when the destructor - is called (when the script is terminated). + Displays log messages in a separate browser window. </para> </refsect1> - <refsect1 id="package.logging.log.container.console"> - <title>'console' - Log_console</title> - <para> - Writes log messages to the text console. - </para> - </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: