cvs: peardoc /ja/package/logging log.xml /ja/package/logging/log container.xml examples.xml init.xml log.xml observer.xml
/ja/package/logging/log/log attach.xml detach.xml factory.xml notifyall.xml singleton.xml /ja/package/logging/log/observer factory.xml
| From: | Haruki Setoyama | Date: | Wed, 30 Jun 2004 12:17:33 +0000 |
| Subject: | cvs: peardoc /ja/package/logging log.xml /ja/package/logging/log container.xml examples.xml init.xml log.xml observer.xml /ja/package/logging/log/log attach.xml detach.xml factory.xml notifyall.xml singleton.xml /ja/package/logging/log/observer factory.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4553@lists.php.net to get a copy of this message | ||
haruki Wed Jun 30 08:17:33 2004 EDT
Added files:
/peardoc/ja/package/logging log.xml
/peardoc/ja/package/logging/log/log attach.xml detach.xml
notifyall.xml singleton.xml
Modified files:
/peardoc/ja/package/logging/log container.xml examples.xml init.xml
log.xml observer.xml
/peardoc/ja/package/logging/log/log factory.xml
/peardoc/ja/package/logging/log/observer factory.xml
Log:
Translated all. and sync with en.
http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/container.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/ja/package/logging/log/container.xml diff -u peardoc/ja/package/logging/log/container.xml:1.4 peardoc/ja/package/logging/log/container.xml:1.5 --- peardoc/ja/package/logging/log/container.xml:1.4 Sun Mar 21 08:55:02 2004 +++ peardoc/ja/package/logging/log/container.xml Wed Jun 30 08:17:32 2004 @@ -1,112 +1,113 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.5 Maintainer: elf Status: ready --> +<!-- CREDITS: haruki --> <refentry id="package.logging.log.container"> <refnamediv> <refname>ãã®ã³ã°ã³ã³ãã</refname> <refpurpose> - <classname>Log</classname>ã®æ¯æ´ããç°ãªããã¼ã¿ã¿ã¤ã + <classname>Log</classname> ããµãã¼ãããæ§ã ãªç¨®é¡ã®ãã¼ã¿ã³ã³ãã </refpurpose> </refnamediv> <refsect1 id="package.logging.log.container.composite"> <title>'composite' - Log_composite</title> <para> - è¤æ°ã®åã³ã³ããããæãä»®æ³ãã°ã³ã³ããã使ãã¾ãã - ããã¯ã - ä»ã®ãã°ã¤ã³ã¹ã¿ã³ã¹ã®éåã«åãåºæ¥äºãéä¿¡ãããã¨ãå¯è½ã«ãã¾ãã + è¤æ°ã®åã³ã³ããããæãä»®æ³ãã®ã³ã°ã³ã³ããã使ãã¾ãã + ããã«ããã + è¤æ°ã®ãã°ã®ã¤ã³ã¹ã¿ã³ã¹ã«åãåºæ¥äºãéä¿¡ãããã¨ãå¯è½ã«ãªãã¾ãã </para> - </refsect1> - + </refsect1> + <refsect1 id="package.logging.log.container.console"> <title>'console' - Log_console</title> <para> - Writes log messages to the text console. + ãã°ã¡ãã»ã¼ã¸ãããã¹ãã³ã³ã½ã¼ã«ã«æ¸ãåºãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.display"> <title>'display' - Log_display</title> <para> - ãã°ã¡ãã»ã¼ã¸ããã©ã¦ã¶ã«è¡¨ç¤ºããæ¸ãè¾¼ã¿ãã¾ã - (<function>echo</function>ã使ç¨)ã + ãã°ã¡ãã»ã¼ã¸ããã©ã¦ã¶ç»é¢ã«æ¸ãåºãã¾ã + (<function>echo</function> ã使ç¨ãã¾ã)ã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.error_log"> <title>'error_log' - Log_error_log</title> <para> - ãã°ã¡ãã»ã¼ã¸ã«PHPã®<function>error_log</function>颿°ã使ç¨ãã¾ãã + ãã°ã¡ãã»ã¼ã¸ã« PHP ã® <function>error_log</function> 颿°ã使ç¨ãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.file"> <title>'file' - Log_file</title> <para> ãã¼ã«ã«ãã¡ã¤ã«ã·ã¹ãã ä¸ã®ä»»æã®ãã¡ã¤ã«ã«ãã¼ã¿ãæ ¼ç´ãã¾ã - (PHP ã®ãã¡ã¤ã«ã·ã¹ãã æ©è½ã使ç¨ãã¦ã - ä»»æã®ã¢ã¯ã»ã¹å¯è½ãªãã¼ã«ã«ãã¡ã¤ã«ãåç §ãã¾ãã) ã + (PHP ã®ãã¡ã¤ã«ã·ã¹ãã æ©è½ã使ç¨ãã¦ã + ã¢ã¯ã»ã¹å¯è½ãªä»»æã®ãã¡ã¤ã«ãåç §ãã¾ã)ã </para> </refsect1> - + <refsect1 id="package.logging.log.container.mail"> <title>'mail' - Log_mail</title> <para> ã¡ã¼ã«ããã¯ã¹ã«ãã°ã¡ãã»ã¼ã¸ãéä¿¡ãã¾ãã - ã¡ã¼ã«ã¯å®éã«ã¯ãã¬ã¼ã<function>close</function>ããæã - ãããã¯ãã¹ãã©ã¯ã¿ãå¼ã°ãã(ã¹ã¯ãªãããçµäºãã)æã§ãã + å®éã«ã¯ããã¬ã¼ã<function>close</function>ããæã + ãããã¯ããã¹ãã©ã¯ã¿ãå¼ã°ãã(ã¹ã¯ãªãããçµäºãã)æã« + ã¡ã¼ã«ãéä¿¡ããã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.mcal"> <title>'mcal' - Log_mcal</title> <para> - ã«ã¬ã³ãã¢ããªã±ã¼ã·ã§ã³ããã®ãã¼ã¿ã¿ã¤ããå©ç¨ããã«ã¯ã - <command>libmcal</command>ã¨<command>mcal</command> - PHPæ¡å¼µã¢ã¸ã¥ã¼ã«ãå¿ è¦ã§ãã + ã«ã¬ã³ãã¢ããªã±ã¼ã·ã§ã³ã«ãã¼ã¿ãã¹ãã¢ãã¾ãã + ããã«ã¯ã<command>libmcal</command> ããã³ <command>mcal</command> + PHP æ¡å¼µã¢ã¸ã¥ã¼ã«ãå¿ è¦ã§ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.null"> <title>'null' - Log_null</title> <para> - åã«ãã°ã¤ãã³ããæ¶è²»ãã¾ãã - ã¡ãã»ã¼ã¸ãè¨é²ããå¿ è¦ããªãå ´åã - ãã®ã³ã³ããã¯éåã«ä½¿ç¨ãããã¨ãã§ãã¾ãã + åã«ãã°ã¤ãã³ããç ´æ£ãã¾ãã + ã¡ãã»ã¼ã¸ãè¨é²ããå¿ è¦ããªãéç¥ã«å¯¾ãã¦ä½¿ç¨ãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.sql"> <title>'sql' - Log_sql</title> <para> <link linkend="package.database.db">PEAR::DB</link> - ã使ç¨ãããã¼ã¿ãã¼ã¹ã®ã¹ãã¬ã¼ã¸ãã¼ã¿ã§ãã + ã使ç¨ãã¦ãã¼ã¿ãã¹ãã¢ãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.sqlite"> <title>'sqlite' - Log_sqlite</title> <para> - PHPã®ãã¤ãã£ãã®SQLite颿°ã使ç¨ãã - SQLiteãã¼ã¿ãã¼ã¹ã®ã¹ãã¬ã¼ã¸ãã¼ã¿ã§ãã + PHP ãã¤ãã£ãã® SQLite 颿°ã使ç¨ã㦠+ SQLite ã«ãã¼ã¿ãã¹ãã¢ãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.syslog"> <title>'syslog' - Log_syslog</title> <para> - Unix ç³»ã·ã¹ãã ã§ã¯<command>syslog</command> ãã + Unix ç³»ã·ã¹ãã ã§ã¯ <command>syslog</command> ãã Windows NT/2000/XP ç³»ã·ã¹ãã ã§ã¯ - <command>ã¤ãã³ããã°</command> ã使ã£ã¦ãã¼ã¿ãæ ¼ç´ãã¾ãã + <command>ã¤ãã³ããã°</command> ã使ã£ã¦ãã¼ã¿ãã¹ãã¢ãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.win"> <title>'win' - Log_win</title> <para> - åå¥ã®ãã©ã¦ã¶ã¦ã£ã³ãã¦ã«ãã°ã¡ãã»ã¼ã¸ã表示ãã¾ãã + å¥ã®ãã©ã¦ã¶ã¦ã£ã³ãã¦ã«ãã°ã¡ãã»ã¼ã¸ã表示ãã¾ãã </para> - </refsect1> + </refsect1> </refentry> <!-- Keep this comment at the end of the file @@ -127,4 +128,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/examples.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/examples.xml diff -u peardoc/ja/package/logging/log/examples.xml:1.3 peardoc/ja/package/logging/log/examples.xml:1.4 --- peardoc/ja/package/logging/log/examples.xml:1.3 Sun Mar 21 08:55:02 2004 +++ peardoc/ja/package/logging/log/examples.xml Wed Jun 30 08:17:32 2004 @@ -1,10 +1,10 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <refentry id="package.logging.log.examples"> <refnamediv> <refname>ä¾</refname> <refpurpose> - <classname>Log</classname>ã¯ã©ã¹ã®ä½¿ãæ¹ + <classname>Log</classname> ã¯ã©ã¹ã®ä½¿ãæ¹ </refpurpose> </refnamediv> @@ -14,7 +14,7 @@ <title></title> <para> 次ã®ã³ã¼ãä¾ã§ã¯ããã°ã¡ãã»ã¼ã¸ããã¹ã¦ <filename>user.log</filename> - ã«æ¸ããã¦ãã¾ãã + ãã¡ã¤ã«ã«æ¸ããã¾ãã </para> <programlisting role="php"> <![CDATA[ http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/init.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/init.xml diff -u peardoc/ja/package/logging/log/init.xml:1.3 peardoc/ja/package/logging/log/init.xml:1.4 --- peardoc/ja/package/logging/log/init.xml:1.3 Sun Mar 21 08:55:02 2004 +++ peardoc/ja/package/logging/log/init.xml Wed Jun 30 08:17:32 2004 @@ -1,96 +1,97 @@ -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.4 Maintainer: elf Status: ready --> -<refentry id="package.logging.log.init"> - <refnamediv> - <refname>åæå</refname> - <refpurpose><classname>Log</classname>ãªãã¸ã§ã¯ãã®ä½æ</refpurpose> - </refnamediv> - <refsect1> - <title></title> - <para> - <classname>Log</classname> - ãªãã¸ã§ã¯ãã使ããã«ã¯3ã¤ã®å¯è½ãªæ¹æ³ãããã¾ãã - ç´æ¥<classname>Log</classname>ãªãã¸ã§ã¯ãã使ããæ¹æ³ãã - <link linkend="package.logging.log.log.singleton"> - <classname>Log</classname>ã®<function>&singleton</function></link>ã¾ã㯠- <link linkend="package.logging.log.log.factory"><function>factory</function> - </link>颿°ãå¼ã¶æ¹æ³ã§ãã - </para> - <example> - <title>åæåä¾</title> - <programlisting role="php"> - <![CDATA[ -// direct initialization of the 'file' container -$log = new Log_file('log.txt', 'identity text'); - -// initialization of the 'file' container through factory() -$log = &Log::factory('file', 'log.txt', 'identity text'); - -// initialization of the 'file' container through singleton() -$log = &Log::singleton('file', 'log.txt', 'identity text'); - ]]> - </programlisting> - </example> - <para> - ç´æ¥<classname>Log</classname>ã®ã¤ã³ã¹ã¿ã³ã¹ãåæåãããã¨ã¯ã - æããçè§£ããæã容æãªæ¹æ³ã§ãã - </para> - <para> - 次ã®2ã¤ã®ã¢ããã¼ãã¯ã½ããã¦ã§ã¢å·¥å¦ãã¶ã¤ã³ãã¿ã¼ã³ - ("factory"ã¨"singleton"ã¡ã¿ãã¡ã¼) - ã§ãã - </para> - <para> - ç¹ã«<function>factory</function>ã¡ã½ãããå¼ã¶ãã¨ã¯ã - <classname>Log_</classname> - ãµãã¯ã©ã¹ã®ãã¡ä¸ã¤ã®æ°ããã¤ã³ã¹ã¿ã³ã¹ã使ãã¾ãã - è¿ããããµãã¯ã©ã¹ã®ã¿ã¤ãã¯ã - <function>factory</function>ã«æ¸¡ãããæåã®ãã©ã¡ã¼ã¿ã¼ - (<parameter>log_type</parameter>)ã«ãã£ã¦æå®ããã¾ãã - This approach effectively hides - the subclasses while still allowing the programmer to request a - concrete instance of a certain subclass. - ããã¯ãã©ã³ã¿ã¤ã ã§ãµãã¯ã©ã¹ã¿ã¤ããé¸ã¶å¿ è¦ã®ããæã«å½¹ç«ã¡ã¾ãã - </para> - <para> - <function>factory</function>ã¯ã - 常ã«PHPã®éæ¢ã¡ã½ããè¡¨è¨æ³ã使ç¨ãã¦å¼ã³ã¾ãã - - <literal>Log::factory</literal>. - </para> - <para> - The <function>singleton</function> method is identical to the - <function>factory</function> method except that it guarantees that - only a single instance of the requested <classname>Log_</classname> - subclass exists. The <function>singleton</function> method bases each - instance's uniqueness on the parameters used in the instance's - creation. In other words, only one instance with a given set of - creation parameters will ever be returned by the - <function>singleton</function> method. The second invocation will - simply return a reference to the existing instance. - </para> - <para> - <function>singleton</function>ã¡ã½ãããå¿ ãéçã«å¼ã°ãã¾ãã - ããã¦ããã¯PHPã®åç §è¡¨è¨æ³ãè¦æ±ãã¾ãã - - <literal>&Log::singleton</literal> - </para> - </refsect1> -</refentry> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: elf Status: ready --> +<!-- CREDITS: haruki --> +<refentry id="package.logging.log.init"> + <refnamediv> + <refname>åæå</refname> + <refpurpose><classname>Log</classname> ãªãã¸ã§ã¯ãã®ä½æ</refpurpose> + </refnamediv> + <refsect1> + <title></title> + <para> + <classname>Log</classname> ãªãã¸ã§ã¯ãã使ããã«ã¯ 3 ã¤ã®æ¹æ³ãããã¾ãã + ããªãã¡ãç´æ¥<classname>Log</classname>ãªãã¸ã§ã¯ãã使ããã + <link linkend="package.logging.log.log.singleton"> + <classname>Log</classname>ã®<function>&singleton</function></link>ãã³ã¼ã«ããã + ãããã¯ã + <link linkend="package.logging.log.log.factory"><function>factory</function> + </link>颿°ãã³ã¼ã«ãããã«ãªãã¾ãã + </para> + <example> + <title>åæåã®ä¾</title> + <programlisting role="php"> + <![CDATA[ +// 'file' ã³ã³ãããç´æ¥åæåãã +$log = new Log_file('log.txt', 'identity text'); + +// factory() ã使ã£ã¦ 'file' ã³ã³ãããåæåãã +$log = &Log::factory('file', 'log.txt', 'identity text'); + +// singleton() ã使ã£ã¦ 'file' ã³ã³ãããåæåãã +$log = &Log::singleton('file', 'log.txt', 'identity text'); + ]]> + </programlisting> + </example> + <para> + ç´æ¥ <classname>Log</classname> ã¤ã³ã¹ã¿ã³ã¹ãåæåãããã¨ã¯ã + æããããæãæ¹æ³ã§ãããã + </para> + <para> + 次ã®2ã¤ã®ã¢ããã¼ãã¯ã + ã½ããã¦ã§ã¢å·¥å¦ã§è¨ãã¨ããã®ãã¶ã¤ã³ãã¿ã¼ã³("factory" 㨠"singleton") + ãå©ç¨ãã¦ãã¾ãã + </para> + <para> + <function>factory</function> ã¡ã½ãããå¼ã¶ã¨ã + <classname>Log_</classname> ãµãã¯ã©ã¹ã®å ã®ä¸ã¤ã®ã¤ã³ã¹ã¿ã³ã¹ãæ°ãã使ããã¾ãã + è¿ããããµãã¯ã©ã¹ã®ã¿ã¤ãã¯ã + <function>factory</function> ã«æ¸¡ãããæåã®ãã©ã¡ã¼ã¿ã¼ + (<parameter>log_type</parameter>) ã«ãã£ã¦æ±ºã¾ãã¾ãã + ãã®ã¢ããã¼ãã使ãã¨ã + ããã°ã©ã ä¸ã§ãããµãã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã使ãå¿ è¦ãããå ´åã«ãã + ãµãã¯ã©ã¹ã®åå¨ããã¾ãé ããã¨ãã§ãã¾ãã + ããã¯ãå®è¡æã«ãµãã¯ã©ã¹ã®ã¿ã¤ããé¸ã¶å¿ è¦ãããæã«å½¹ç«ã¡ã¾ãã + </para> + <para> + <function>factory</function> ã¯ã + 以ä¸ã®ããã«ã常ã«ã¹ã¿ãã£ãã¯ãªå½¢ã§ã³ã¼ã«ãã¾ãã + - <literal>Log::factory</literal> + </para> + <para> + <function>singleton</function> ã¡ã½ããã¯ã + è¦æ±ããã <classname>Log_</classname> ãµãã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã + 1 ã¤ããåå¨ããªãããã«ãªããã¨ä»¥å¤ã¯ã<function>factory</function> + ã¡ã½ããã¨åãã§ãã + <function>singleton</function> ã¡ã½ããã¯ãã¤ã³ã¹ã¿ã³ã¹ãçæãããéã® + ãã©ã¡ã¼ã¿ãå¤ãããªããã¨ãä»®å®ãã¦ãã¾ããã¤ã¾ãã + æåã®ã³ã¼ã«æã«ä¸ãããããã©ã¡ã¼ã¿ã®å¤ãä¿æããã¤ã³ã¹ã¿ã³ã¹ã®ã¿ã + <function>singleton</function> ã¡ã½ããã«ããè¿ããã¾ãã + 2 åç®ä»¥éã®ã³ã¼ã«ã§ã¯ããã§ã«çææ¸ã¿ã®ã¤ã³ã¹ã¿ã³ã¹ã¸ã®ãªãã¡ã¬ã³ã¹ã + è¿ããã¾ãã + </para> + <para> + <function>singleton</function>ã¡ã½ãããã常ã«ã¹ã¿ãã£ãã¯ãªå½¢ã§ã³ã¼ã«ãã¾ãã + ããã«ã以ä¸ã®ããã«ããªãã¡ã¬ã³ã¹ã®è¨æ³ã使ç¨ãã¾ããã + - <literal>&Log::singleton</literal> + </para> + </refsect1> +</refentry> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/log.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/log.xml diff -u peardoc/ja/package/logging/log/log.xml:1.3 peardoc/ja/package/logging/log/log.xml:1.4 --- peardoc/ja/package/logging/log/log.xml:1.3 Sun Mar 21 08:55:02 2004 +++ peardoc/ja/package/logging/log/log.xml Wed Jun 30 08:17:32 2004 @@ -1,36 +1,36 @@ -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> -<refentry id="package.logging.log.log"> - <refnamediv> - <refname>Log</refname> - <refpurpose>ãã®ã³ã°æ½è±¡ã¯ã©ã¹</refpurpose> - </refnamediv> - <refsynopsisdiv> - <synopsis>require_once "Log.php";</synopsis> - </refsynopsisdiv> - <refsect1> - <title>説æ</title> - <simpara> - ãã®ã³ã°ã¤ã³ã¿ã¼ãã§ã¼ã¹é¢æ°ã - </simpara> - </refsect1> -</refentry> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> +<refentry id="package.logging.log.log"> + <refnamediv> + <refname>Log</refname> + <refpurpose>ãã®ã³ã°æ½è±¡ã¯ã©ã¹</refpurpose> + </refnamediv> + <refsynopsisdiv> + <synopsis>require_once "Log.php";</synopsis> + </refsynopsisdiv> + <refsect1> + <title>説æ</title> + <simpara> + ãã®ã³ã°ã¤ã³ã¿ã¼ãã§ã¼ã¹é¢æ°ã§ãã + </simpara> + </refsect1> +</refentry> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/observer.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/observer.xml diff -u peardoc/ja/package/logging/log/observer.xml:1.3 peardoc/ja/package/logging/log/observer.xml:1.4 --- peardoc/ja/package/logging/log/observer.xml:1.3 Sun Mar 21 08:55:02 2004 +++ peardoc/ja/package/logging/log/observer.xml Wed Jun 30 08:17:32 2004 @@ -1,38 +1,39 @@ -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> -<refentry id="package.logging.log.observer"> - <refnamediv> - <refname>Log_Observer</refname> - <refpurpose>ãã°è¦³æ¸¬ã¯ã©ã¹</refpurpose> - </refnamediv> - <refsynopsisdiv> - <synopsis>require_once "Log/observer.php";</synopsis> - </refsynopsisdiv> - <refsect1> - <title>説æ</title> - <simpara> - Log_Observerã¯ã©ã¹ã¯ããã°å¦çãç£è¦ãã - éè¦ãªã¤ãã³ããçºçããå ´åã«è¡åãèµ·ããããã«ã - Subject-Observerãã¿ã¼ã³ã®Observerå´ãå®è£ ãã¾ãã - </simpara> - </refsect1> -</refentry> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<!-- CREDITS: haruki --> +<refentry id="package.logging.log.observer"> + <refnamediv> + <refname>Log_Observer</refname> + <refpurpose>ãã° ãªãã¶ã¼ã ã¯ã©ã¹</refpurpose> + </refnamediv> + <refsynopsisdiv> + <synopsis>require_once "Log/observer.php";</synopsis> + </refsynopsisdiv> + <refsect1> + <title>説æ</title> + <simpara> + Log_Observer ã¯ã©ã¹ã¯ããã°å¦çãç£è¦ã + éè¦ãªã¤ãã³ããçºçããå ´åã«ä½ããã®å¦çãè¡ããããã + Subject-Observer ãã¿ã¼ã³ ã® Observer å´ãå®è£ ãã¦ãã¾ãã + </simpara> + </refsect1> +</refentry> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/log/factory.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/log/factory.xml diff -u peardoc/ja/package/logging/log/log/factory.xml:1.3 peardoc/ja/package/logging/log/log/factory.xml:1.4 --- peardoc/ja/package/logging/log/log/factory.xml:1.3 Sun Mar 21 08:56:18 2004 +++ peardoc/ja/package/logging/log/log/factory.xml Wed Jun 30 08:17:33 2004 @@ -1,59 +1,60 @@ -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> -<refentry id="package.logging.log.log.factory"> - <refnamediv> - <refname>Log::factory()</refname> - <refpurpose> - æå®ãã<parameter>log_type</parameter>ã®å ·ä½çãªã®Logã¤ã³ã¹ã¿ã³ã¹ãè¿ã - </refpurpose> - </refnamediv> - <refsynopsisdiv> - <funcsynopsis> - <funcprototype> - <funcdef>object <function>Log::factory</function></funcdef> - <paramdef>string <parameter>log_type</parameter></paramdef> - <paramdef>string <parameter><optional>log_name</optional></parameter></paramdef> - <paramdef>string <parameter><optional>ident</optional></parameter></paramdef> - <paramdef>array <parameter><optional>conf</optional></parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - <refsect1 id="package.logging.log.log.factory.desc"> - &title.desc; - <para> - æå®ãã <parameter>log_type</parameter>ã®ã - å ·ä½ç㪠Log ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã - </para> - </refsect1> - <refsect1 id="package.logging.log.log.factory.return"> - &title.returns; - <para> - <parameter>object</parameter> - - æ°è¦çæããå ·ä½ç㪠Log ã¤ã³ã¹ã¿ã³ã¹ãã - ã¨ã©ã¼ã®å ´å㯠&false; ãè¿ãã¾ãã - </para> - </refsect1> - <refsect1 id="package.logging.log.log.factory.note"> - &title.note; - ¬e.canstatic; - </refsect1> -</refentry> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<!-- CREDITS: haruki --> +<refentry id="package.logging.log.log.factory"> + <refnamediv> + <refname>Log::factory()</refname> + <refpurpose> + æå®ããã¿ã¤ãã®ãã°ã®å ·è±¡ã¤ã³ã¹ã¿ã³ã¹ãè¿ã + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>object <function>Log::factory</function></funcdef> + <paramdef>string <parameter>log_type</parameter></paramdef> + <paramdef>string <parameter><optional>log_name</optional></parameter></paramdef> + <paramdef>string <parameter><optional>ident</optional></parameter></paramdef> + <paramdef>array <parameter><optional>conf</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + <refsect1 id="package.logging.log.log.factory.desc"> + &title.desc; + <para> + æå®ãã <parameter>log_type</parameter> ã® + å ·è±¡ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã + </para> + </refsect1> + <refsect1 id="package.logging.log.log.factory.return"> + &title.returns; + <para> + <parameter>object</parameter> - + æ°ãã«çæãããå ·è±¡ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã + ã¨ã©ã¼ã®å ´å㯠&false; ãè¿ãã¾ãã + </para> + </refsect1> + <refsect1 id="package.logging.log.log.factory.note"> + &title.note; + ¬e.canstatic; + </refsect1> +</refentry> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/observer/factory.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/observer/factory.xml diff -u peardoc/ja/package/logging/log/observer/factory.xml:1.3 peardoc/ja/package/logging/log/observer/factory.xml:1.4 --- peardoc/ja/package/logging/log/observer/factory.xml:1.3 Sun Mar 21 08:57:33 2004 +++ peardoc/ja/package/logging/log/observer/factory.xml Wed Jun 30 08:17:33 2004 @@ -1,57 +1,58 @@ -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> -<refentry id="package.logging.log.observer.factory"> - <refnamediv> - <refname>Log_Observer::factory</refname> - <refpurpose> - æå®ãã<parameter>observer_type</parameter>ã®å ·ä½çãªã®Logã¤ã³ã¹ã¿ã³ã¹ãè¿ã - </refpurpose> - </refnamediv> - <refsynopsisdiv> - <funcsynopsis> - <funcprototype> - <funcdef>object <function>Log_Observer::factory</function></funcdef> - <paramdef>string <parameter>observer_type</parameter></paramdef> - <paramdef>integer <parameter><optional>priority</optional></parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - <refsect1 id="package.logging.log.observer.factory.desc"> - &title.desc; - <para> - æå®ãã<parameter>observer_type</parameter>ã®ã - å ·ä½ç㪠Log_Observer ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã - </para> - </refsect1> - <refsect1 id="package.logging.log.observer.factory.return"> - &title.returns; - <para> - <parameter>object</parameter> - - æ°è¦çæããå ·ä½ç㪠Log_Observer ã¤ã³ã¹ã¿ã³ã¹ãã - ã¨ã©ã¼ã®å ´å㯠&false; ãè¿ãã¾ãã - </para> - </refsect1> - <refsect1 id="package.logging.log.observer.factory.note"> - &title.note; - ¬e.canstatic; - </refsect1> -</refentry> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<!-- CREDITS: haruki --> +<refentry id="package.logging.log.observer.factory"> + <refnamediv> + <refname>Log_Observer::factory</refname> + <refpurpose> + æå®ããã¿ã¤ãã®ãªãã¶ã¼ãã®å ·è±¡ã¤ã³ã¹ã¿ã³ã¹ãè¿ã + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>object <function>Log_Observer::factory</function></funcdef> + <paramdef>string <parameter>observer_type</parameter></paramdef> + <paramdef>integer <parameter><optional>priority</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + <refsect1 id="package.logging.log.observer.factory.desc"> + &title.desc; + <para> + æå®ãã <parameter>observer_type</parameter> ã® + å ·è±¡ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã + </para> + </refsect1> + <refsect1 id="package.logging.log.observer.factory.return"> + &title.returns; + <para> + <parameter>object</parameter> - + æ°ãã«çæãããå ·è±¡ Log_Observer ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã + ã¨ã©ã¼ã®å ´å㯠&false; ãè¿ãã¾ãã + </para> + </refsect1> + <refsect1 id="package.logging.log.observer.factory.note"> + &title.note; + ¬e.canstatic; + </refsect1> +</refentry> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/co.php/peardoc/ja/package/logging/log.xml?r=1.1&p=1 Index: peardoc/ja/package/logging/log.xml +++ peardoc/ja/package/logging/log.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: haruki Status: ready --> <sect1 id="package.logging.log"> <title>Log</title> <para> ãã¾ãã¾ãªãã°å¦çã¡ã«ããºã ã®æ½è±¡åããã³ Subject-Observer ãã¿ã¼ã³ã å®è£ ãã¦ãã¾ãã </para> &package.logging.log.container; &package.logging.log.examples; &package.logging.log.init; &package.logging.log.log; &package.logging.log.log.factory; &package.logging.log.log.singleton; &package.logging.log.log.attach; &package.logging.log.log.detach; <!-- &package.logging.log.log.notifyall; --> &package.logging.log.observer; &package.logging.log.observer.factory; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/logging/log/log/attach.xml?r=1.1&p=1 Index: peardoc/ja/package/logging/log/log/attach.xml +++ peardoc/ja/package/logging/log/log/attach.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: haruki Status: ready --> <!-- CREDITS: haruki --> <refentry id="package.logging.log.log.attach"> <refnamediv> <refname>Log::attach()</refname> <refpurpose> ãªãã¶ã¼ããç¾å¨ã®ãªã¹ãã«è¿½å ãã </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef><function>Log::attach</function></funcdef> <paramdef>object <parameter>logObserver</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.logging.log.log.attach.desc"> &title.desc; <para> ãã°ã¡ãã»ã¼ã¸ãè¨é²ããããã¨ãéç¥ããããªãã¶ã¼ãã®ãªã¹ãã« <link linkend="package.logging.log.observer">Log_Observer</link> ã®ã¤ã³ã¹ã¿ã³ã¹ã 追å ããã </para> </refsect1> <refsect1 id="package.logging.log.log.attach.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/logging/log/log/detach.xml?r=1.1&p=1 Index: peardoc/ja/package/logging/log/log/detach.xml +++ peardoc/ja/package/logging/log/log/detach.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <!-- CREDITS: haruki --> <refentry id="package.logging.log.log.detach"> <refnamediv> <refname>Log::detach()</refname> <refpurpose> ãªãã¶ã¼ããç¾å¨ã®ãªã¹ãããåé¤ãã </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef><function>Log::detach</function></funcdef> <paramdef>object <parameter>logObserver</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.logging.log.log.detach.desc"> &title.desc; <para> <link linkend="package.logging.log.observer">Log_Observer</link> ã®ã¤ã³ã¹ã¿ã³ã¹ããªãã¶ã¼ãã®ãªã¹ãããåé¤ãã¾ãã </para> </refsect1> <refsect1 id="package.logging.log.log.detach.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/logging/log/log/notifyall.xml?r=1.1&p=1 Index: peardoc/ja/package/logging/log/log/notifyall.xml +++ peardoc/ja/package/logging/log/log/notifyall.xml <!-- $Revision: 1.1 $ --> <refentry id="package.logging.log.log.notifyall"> <refnamediv> <refname>Log::notifyAll()</refname> <refpurpose> Notify all observers. </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef><function>Log::notifyAll</function></funcdef> <paramdef>array <parameter>messageOb</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.logging.log.log.notifyall.desc"> &title.desc; <para> Sends any <link linkend="package.logging.log.observer">Log_Observer</link> objects listening to this Log the message that was just logged. </para> </refsect1> <refsect1 id="package.logging.log.log.notifyall.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/logging/log/log/singleton.xml?r=1.1&p=1 Index: peardoc/ja/package/logging/log/log/singleton.xml +++ peardoc/ja/package/logging/log/log/singleton.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: haruki Status: ready --> <!-- CREDITS: --> <refentry id="package.logging.log.log.singleton"> <refnamediv> <refname>Log::singleton()</refname> <refpurpose> </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>object <function>Log::singleton</function></funcdef> <paramdef>string <parameter>log_type</parameter></paramdef> <paramdef>string <parameter><optional>log_name</optional></parameter></paramdef> <paramdef>string <parameter><optional>ident</optional></parameter></paramdef> <paramdef>array <parameter><optional>conf</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.logging.log.log.singleton.desc"> &title.desc; <para> æå®ãã <parameter>log_type</parameter> ã®å ·è±¡ã¤ã³ã¹ã¿ã³ã¹ã¸ã® ãªãã¡ã¬ã³ã¹ãè¿ãã¾ããåããã©ã¡ã¼ã¿ã§çæãããã¤ã³ã¹ã¿ã³ã¹ãç¡ãå ´åã®ã¿ã æ°ãã«ã¤ã³ã¹ã¿ã³ã¹ãçæãã¾ãã </para> <para> ãã¬ã¼ã使ããç®æãè¤æ°ããããè¤æ°ã®ãã¬ã¼ãçæãããã¯ç¡ãã ãã¬ã¼ãæ¢åãã©ãããæ¯åãã§ãã¯ãããç¡ãå ´åã«ã使ãã¨è¯ãã§ãããã ã·ã³ã°ã«ãã³ãã¿ã¼ã³ã§ã¯ããããã®ãã§ãã¯ã代ãã£ã¦å®è¡ãã¦ããã¾ãã </para> <para> <note> <simpara> <literal>$var = &Log::singleton()</literal> ã¨ããè¨æ³ã§ãã®ã¡ã½ããã ã³ã¼ã«ãã¦ãã ããã ã¡ã½ããåã®åã®ã¢ã³ããµã³ã (&) ãç¡ãã¨ããªãã¡ã¬ã³ã¹ã§ãªãã ã³ãã¼ãè¿ã£ã¦ãã¾ãã¾ãã </simpara> </note> </para> </refsect1> <refsect1 id="package.logging.log.log.singleton.return"> &title.returns; <para> <parameter>object</parameter> - å ·è±¡ãã°ã¤ã³ã¹ã¿ã³ã¹ãã¨ã©ã¼æã¯ &false; ãè¿ããã¾ãã </para> </refsect1> <refsect1 id="package.logging.log.log.singleton.note"> &title.note; ¬e.canstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/container.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/ja/package/logging/log/container.xml diff -u peardoc/ja/package/logging/log/container.xml:1.4 peardoc/ja/package/logging/log/container.xml:1.5 --- peardoc/ja/package/logging/log/container.xml:1.4 Sun Mar 21 08:55:02 2004 +++ peardoc/ja/package/logging/log/container.xml Wed Jun 30 08:17:32 2004 @@ -1,112 +1,113 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.5 Maintainer: elf Status: ready --> +<!-- CREDITS: haruki --> <refentry id="package.logging.log.container"> <refnamediv> <refname>ãã®ã³ã°ã³ã³ãã</refname> <refpurpose> - <classname>Log</classname>ã®æ¯æ´ããç°ãªããã¼ã¿ã¿ã¤ã + <classname>Log</classname> ããµãã¼ãããæ§ã ãªç¨®é¡ã®ãã¼ã¿ã³ã³ãã </refpurpose> </refnamediv> <refsect1 id="package.logging.log.container.composite"> <title>'composite' - Log_composite</title> <para> - è¤æ°ã®åã³ã³ããããæãä»®æ³ãã°ã³ã³ããã使ãã¾ãã - ããã¯ã - ä»ã®ãã°ã¤ã³ã¹ã¿ã³ã¹ã®éåã«åãåºæ¥äºãéä¿¡ãããã¨ãå¯è½ã«ãã¾ãã + è¤æ°ã®åã³ã³ããããæãä»®æ³ãã®ã³ã°ã³ã³ããã使ãã¾ãã + ããã«ããã + è¤æ°ã®ãã°ã®ã¤ã³ã¹ã¿ã³ã¹ã«åãåºæ¥äºãéä¿¡ãããã¨ãå¯è½ã«ãªãã¾ãã </para> - </refsect1> - + </refsect1> + <refsect1 id="package.logging.log.container.console"> <title>'console' - Log_console</title> <para> - Writes log messages to the text console. + ãã°ã¡ãã»ã¼ã¸ãããã¹ãã³ã³ã½ã¼ã«ã«æ¸ãåºãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.display"> <title>'display' - Log_display</title> <para> - ãã°ã¡ãã»ã¼ã¸ããã©ã¦ã¶ã«è¡¨ç¤ºããæ¸ãè¾¼ã¿ãã¾ã - (<function>echo</function>ã使ç¨)ã + ãã°ã¡ãã»ã¼ã¸ããã©ã¦ã¶ç»é¢ã«æ¸ãåºãã¾ã + (<function>echo</function> ã使ç¨ãã¾ã)ã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.error_log"> <title>'error_log' - Log_error_log</title> <para> - ãã°ã¡ãã»ã¼ã¸ã«PHPã®<function>error_log</function>颿°ã使ç¨ãã¾ãã + ãã°ã¡ãã»ã¼ã¸ã« PHP ã® <function>error_log</function> 颿°ã使ç¨ãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.file"> <title>'file' - Log_file</title> <para> ãã¼ã«ã«ãã¡ã¤ã«ã·ã¹ãã ä¸ã®ä»»æã®ãã¡ã¤ã«ã«ãã¼ã¿ãæ ¼ç´ãã¾ã - (PHP ã®ãã¡ã¤ã«ã·ã¹ãã æ©è½ã使ç¨ãã¦ã - ä»»æã®ã¢ã¯ã»ã¹å¯è½ãªãã¼ã«ã«ãã¡ã¤ã«ãåç §ãã¾ãã) ã + (PHP ã®ãã¡ã¤ã«ã·ã¹ãã æ©è½ã使ç¨ãã¦ã + ã¢ã¯ã»ã¹å¯è½ãªä»»æã®ãã¡ã¤ã«ãåç §ãã¾ã)ã </para> </refsect1> - + <refsect1 id="package.logging.log.container.mail"> <title>'mail' - Log_mail</title> <para> ã¡ã¼ã«ããã¯ã¹ã«ãã°ã¡ãã»ã¼ã¸ãéä¿¡ãã¾ãã - ã¡ã¼ã«ã¯å®éã«ã¯ãã¬ã¼ã<function>close</function>ããæã - ãããã¯ãã¹ãã©ã¯ã¿ãå¼ã°ãã(ã¹ã¯ãªãããçµäºãã)æã§ãã + å®éã«ã¯ããã¬ã¼ã<function>close</function>ããæã + ãããã¯ããã¹ãã©ã¯ã¿ãå¼ã°ãã(ã¹ã¯ãªãããçµäºãã)æã« + ã¡ã¼ã«ãéä¿¡ããã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.mcal"> <title>'mcal' - Log_mcal</title> <para> - ã«ã¬ã³ãã¢ããªã±ã¼ã·ã§ã³ããã®ãã¼ã¿ã¿ã¤ããå©ç¨ããã«ã¯ã - <command>libmcal</command>ã¨<command>mcal</command> - PHPæ¡å¼µã¢ã¸ã¥ã¼ã«ãå¿ è¦ã§ãã + ã«ã¬ã³ãã¢ããªã±ã¼ã·ã§ã³ã«ãã¼ã¿ãã¹ãã¢ãã¾ãã + ããã«ã¯ã<command>libmcal</command> ããã³ <command>mcal</command> + PHP æ¡å¼µã¢ã¸ã¥ã¼ã«ãå¿ è¦ã§ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.null"> <title>'null' - Log_null</title> <para> - åã«ãã°ã¤ãã³ããæ¶è²»ãã¾ãã - ã¡ãã»ã¼ã¸ãè¨é²ããå¿ è¦ããªãå ´åã - ãã®ã³ã³ããã¯éåã«ä½¿ç¨ãããã¨ãã§ãã¾ãã + åã«ãã°ã¤ãã³ããç ´æ£ãã¾ãã + ã¡ãã»ã¼ã¸ãè¨é²ããå¿ è¦ããªãéç¥ã«å¯¾ãã¦ä½¿ç¨ãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.sql"> <title>'sql' - Log_sql</title> <para> <link linkend="package.database.db">PEAR::DB</link> - ã使ç¨ãããã¼ã¿ãã¼ã¹ã®ã¹ãã¬ã¼ã¸ãã¼ã¿ã§ãã + ã使ç¨ãã¦ãã¼ã¿ãã¹ãã¢ãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.sqlite"> <title>'sqlite' - Log_sqlite</title> <para> - PHPã®ãã¤ãã£ãã®SQLite颿°ã使ç¨ãã - SQLiteãã¼ã¿ãã¼ã¹ã®ã¹ãã¬ã¼ã¸ãã¼ã¿ã§ãã + PHP ãã¤ãã£ãã® SQLite 颿°ã使ç¨ã㦠+ SQLite ã«ãã¼ã¿ãã¹ãã¢ãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.syslog"> <title>'syslog' - Log_syslog</title> <para> - Unix ç³»ã·ã¹ãã ã§ã¯<command>syslog</command> ãã + Unix ç³»ã·ã¹ãã ã§ã¯ <command>syslog</command> ãã Windows NT/2000/XP ç³»ã·ã¹ãã ã§ã¯ - <command>ã¤ãã³ããã°</command> ã使ã£ã¦ãã¼ã¿ãæ ¼ç´ãã¾ãã + <command>ã¤ãã³ããã°</command> ã使ã£ã¦ãã¼ã¿ãã¹ãã¢ãã¾ãã </para> - </refsect1> + </refsect1> <refsect1 id="package.logging.log.container.win"> <title>'win' - Log_win</title> <para> - åå¥ã®ãã©ã¦ã¶ã¦ã£ã³ãã¦ã«ãã°ã¡ãã»ã¼ã¸ã表示ãã¾ãã + å¥ã®ãã©ã¦ã¶ã¦ã£ã³ãã¦ã«ãã°ã¡ãã»ã¼ã¸ã表示ãã¾ãã </para> - </refsect1> + </refsect1> </refentry> <!-- Keep this comment at the end of the file @@ -127,4 +128,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/examples.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/examples.xml diff -u peardoc/ja/package/logging/log/examples.xml:1.3 peardoc/ja/package/logging/log/examples.xml:1.4 --- peardoc/ja/package/logging/log/examples.xml:1.3 Sun Mar 21 08:55:02 2004 +++ peardoc/ja/package/logging/log/examples.xml Wed Jun 30 08:17:32 2004 @@ -1,10 +1,10 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <refentry id="package.logging.log.examples"> <refnamediv> <refname>ä¾</refname> <refpurpose> - <classname>Log</classname>ã¯ã©ã¹ã®ä½¿ãæ¹ + <classname>Log</classname> ã¯ã©ã¹ã®ä½¿ãæ¹ </refpurpose> </refnamediv> @@ -14,7 +14,7 @@ <title></title> <para> 次ã®ã³ã¼ãä¾ã§ã¯ããã°ã¡ãã»ã¼ã¸ããã¹ã¦ <filename>user.log</filename> - ã«æ¸ããã¦ãã¾ãã + ãã¡ã¤ã«ã«æ¸ããã¾ãã </para> <programlisting role="php"> <![CDATA[ http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/init.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/init.xml diff -u peardoc/ja/package/logging/log/init.xml:1.3 peardoc/ja/package/logging/log/init.xml:1.4 --- peardoc/ja/package/logging/log/init.xml:1.3 Sun Mar 21 08:55:02 2004 +++ peardoc/ja/package/logging/log/init.xml Wed Jun 30 08:17:32 2004 @@ -1,96 +1,97 @@ -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.4 Maintainer: elf Status: ready --> -<refentry id="package.logging.log.init"> - <refnamediv> - <refname>åæå</refname> - <refpurpose><classname>Log</classname>ãªãã¸ã§ã¯ãã®ä½æ</refpurpose> - </refnamediv> - <refsect1> - <title></title> - <para> - <classname>Log</classname> - ãªãã¸ã§ã¯ãã使ããã«ã¯3ã¤ã®å¯è½ãªæ¹æ³ãããã¾ãã - ç´æ¥<classname>Log</classname>ãªãã¸ã§ã¯ãã使ããæ¹æ³ãã - <link linkend="package.logging.log.log.singleton"> - <classname>Log</classname>ã®<function>&singleton</function></link>ã¾ã㯠- <link linkend="package.logging.log.log.factory"><function>factory</function> - </link>颿°ãå¼ã¶æ¹æ³ã§ãã - </para> - <example> - <title>åæåä¾</title> - <programlisting role="php"> - <![CDATA[ -// direct initialization of the 'file' container -$log = new Log_file('log.txt', 'identity text'); - -// initialization of the 'file' container through factory() -$log = &Log::factory('file', 'log.txt', 'identity text'); - -// initialization of the 'file' container through singleton() -$log = &Log::singleton('file', 'log.txt', 'identity text'); - ]]> - </programlisting> - </example> - <para> - ç´æ¥<classname>Log</classname>ã®ã¤ã³ã¹ã¿ã³ã¹ãåæåãããã¨ã¯ã - æããçè§£ããæã容æãªæ¹æ³ã§ãã - </para> - <para> - 次ã®2ã¤ã®ã¢ããã¼ãã¯ã½ããã¦ã§ã¢å·¥å¦ãã¶ã¤ã³ãã¿ã¼ã³ - ("factory"ã¨"singleton"ã¡ã¿ãã¡ã¼) - ã§ãã - </para> - <para> - ç¹ã«<function>factory</function>ã¡ã½ãããå¼ã¶ãã¨ã¯ã - <classname>Log_</classname> - ãµãã¯ã©ã¹ã®ãã¡ä¸ã¤ã®æ°ããã¤ã³ã¹ã¿ã³ã¹ã使ãã¾ãã - è¿ããããµãã¯ã©ã¹ã®ã¿ã¤ãã¯ã - <function>factory</function>ã«æ¸¡ãããæåã®ãã©ã¡ã¼ã¿ã¼ - (<parameter>log_type</parameter>)ã«ãã£ã¦æå®ããã¾ãã - This approach effectively hides - the subclasses while still allowing the programmer to request a - concrete instance of a certain subclass. - ããã¯ãã©ã³ã¿ã¤ã ã§ãµãã¯ã©ã¹ã¿ã¤ããé¸ã¶å¿ è¦ã®ããæã«å½¹ç«ã¡ã¾ãã - </para> - <para> - <function>factory</function>ã¯ã - 常ã«PHPã®éæ¢ã¡ã½ããè¡¨è¨æ³ã使ç¨ãã¦å¼ã³ã¾ãã - - <literal>Log::factory</literal>. - </para> - <para> - The <function>singleton</function> method is identical to the - <function>factory</function> method except that it guarantees that - only a single instance of the requested <classname>Log_</classname> - subclass exists. The <function>singleton</function> method bases each - instance's uniqueness on the parameters used in the instance's - creation. In other words, only one instance with a given set of - creation parameters will ever be returned by the - <function>singleton</function> method. The second invocation will - simply return a reference to the existing instance. - </para> - <para> - <function>singleton</function>ã¡ã½ãããå¿ ãéçã«å¼ã°ãã¾ãã - ããã¦ããã¯PHPã®åç §è¡¨è¨æ³ãè¦æ±ãã¾ãã - - <literal>&Log::singleton</literal> - </para> - </refsect1> -</refentry> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: elf Status: ready --> +<!-- CREDITS: haruki --> +<refentry id="package.logging.log.init"> + <refnamediv> + <refname>åæå</refname> + <refpurpose><classname>Log</classname> ãªãã¸ã§ã¯ãã®ä½æ</refpurpose> + </refnamediv> + <refsect1> + <title></title> + <para> + <classname>Log</classname> ãªãã¸ã§ã¯ãã使ããã«ã¯ 3 ã¤ã®æ¹æ³ãããã¾ãã + ããªãã¡ãç´æ¥<classname>Log</classname>ãªãã¸ã§ã¯ãã使ããã + <link linkend="package.logging.log.log.singleton"> + <classname>Log</classname>ã®<function>&singleton</function></link>ãã³ã¼ã«ããã + ãããã¯ã + <link linkend="package.logging.log.log.factory"><function>factory</function> + </link>颿°ãã³ã¼ã«ãããã«ãªãã¾ãã + </para> + <example> + <title>åæåã®ä¾</title> + <programlisting role="php"> + <![CDATA[ +// 'file' ã³ã³ãããç´æ¥åæåãã +$log = new Log_file('log.txt', 'identity text'); + +// factory() ã使ã£ã¦ 'file' ã³ã³ãããåæåãã +$log = &Log::factory('file', 'log.txt', 'identity text'); + +// singleton() ã使ã£ã¦ 'file' ã³ã³ãããåæåãã +$log = &Log::singleton('file', 'log.txt', 'identity text'); + ]]> + </programlisting> + </example> + <para> + ç´æ¥ <classname>Log</classname> ã¤ã³ã¹ã¿ã³ã¹ãåæåãããã¨ã¯ã + æããããæãæ¹æ³ã§ãããã + </para> + <para> + 次ã®2ã¤ã®ã¢ããã¼ãã¯ã + ã½ããã¦ã§ã¢å·¥å¦ã§è¨ãã¨ããã®ãã¶ã¤ã³ãã¿ã¼ã³("factory" 㨠"singleton") + ãå©ç¨ãã¦ãã¾ãã + </para> + <para> + <function>factory</function> ã¡ã½ãããå¼ã¶ã¨ã + <classname>Log_</classname> ãµãã¯ã©ã¹ã®å ã®ä¸ã¤ã®ã¤ã³ã¹ã¿ã³ã¹ãæ°ãã使ããã¾ãã + è¿ããããµãã¯ã©ã¹ã®ã¿ã¤ãã¯ã + <function>factory</function> ã«æ¸¡ãããæåã®ãã©ã¡ã¼ã¿ã¼ + (<parameter>log_type</parameter>) ã«ãã£ã¦æ±ºã¾ãã¾ãã + ãã®ã¢ããã¼ãã使ãã¨ã + ããã°ã©ã ä¸ã§ãããµãã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã使ãå¿ è¦ãããå ´åã«ãã + ãµãã¯ã©ã¹ã®åå¨ããã¾ãé ããã¨ãã§ãã¾ãã + ããã¯ãå®è¡æã«ãµãã¯ã©ã¹ã®ã¿ã¤ããé¸ã¶å¿ è¦ãããæã«å½¹ç«ã¡ã¾ãã + </para> + <para> + <function>factory</function> ã¯ã + 以ä¸ã®ããã«ã常ã«ã¹ã¿ãã£ãã¯ãªå½¢ã§ã³ã¼ã«ãã¾ãã + - <literal>Log::factory</literal> + </para> + <para> + <function>singleton</function> ã¡ã½ããã¯ã + è¦æ±ããã <classname>Log_</classname> ãµãã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã + 1 ã¤ããåå¨ããªãããã«ãªããã¨ä»¥å¤ã¯ã<function>factory</function> + ã¡ã½ããã¨åãã§ãã + <function>singleton</function> ã¡ã½ããã¯ãã¤ã³ã¹ã¿ã³ã¹ãçæãããéã® + ãã©ã¡ã¼ã¿ãå¤ãããªããã¨ãä»®å®ãã¦ãã¾ããã¤ã¾ãã + æåã®ã³ã¼ã«æã«ä¸ãããããã©ã¡ã¼ã¿ã®å¤ãä¿æããã¤ã³ã¹ã¿ã³ã¹ã®ã¿ã + <function>singleton</function> ã¡ã½ããã«ããè¿ããã¾ãã + 2 åç®ä»¥éã®ã³ã¼ã«ã§ã¯ããã§ã«çææ¸ã¿ã®ã¤ã³ã¹ã¿ã³ã¹ã¸ã®ãªãã¡ã¬ã³ã¹ã + è¿ããã¾ãã + </para> + <para> + <function>singleton</function>ã¡ã½ãããã常ã«ã¹ã¿ãã£ãã¯ãªå½¢ã§ã³ã¼ã«ãã¾ãã + ããã«ã以ä¸ã®ããã«ããªãã¡ã¬ã³ã¹ã®è¨æ³ã使ç¨ãã¾ããã + - <literal>&Log::singleton</literal> + </para> + </refsect1> +</refentry> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/log.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/log.xml diff -u peardoc/ja/package/logging/log/log.xml:1.3 peardoc/ja/package/logging/log/log.xml:1.4 --- peardoc/ja/package/logging/log/log.xml:1.3 Sun Mar 21 08:55:02 2004 +++ peardoc/ja/package/logging/log/log.xml Wed Jun 30 08:17:32 2004 @@ -1,36 +1,36 @@ -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> -<refentry id="package.logging.log.log"> - <refnamediv> - <refname>Log</refname> - <refpurpose>ãã®ã³ã°æ½è±¡ã¯ã©ã¹</refpurpose> - </refnamediv> - <refsynopsisdiv> - <synopsis>require_once "Log.php";</synopsis> - </refsynopsisdiv> - <refsect1> - <title>説æ</title> - <simpara> - ãã®ã³ã°ã¤ã³ã¿ã¼ãã§ã¼ã¹é¢æ°ã - </simpara> - </refsect1> -</refentry> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> +<refentry id="package.logging.log.log"> + <refnamediv> + <refname>Log</refname> + <refpurpose>ãã®ã³ã°æ½è±¡ã¯ã©ã¹</refpurpose> + </refnamediv> + <refsynopsisdiv> + <synopsis>require_once "Log.php";</synopsis> + </refsynopsisdiv> + <refsect1> + <title>説æ</title> + <simpara> + ãã®ã³ã°ã¤ã³ã¿ã¼ãã§ã¼ã¹é¢æ°ã§ãã + </simpara> + </refsect1> +</refentry> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/observer.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/observer.xml diff -u peardoc/ja/package/logging/log/observer.xml:1.3 peardoc/ja/package/logging/log/observer.xml:1.4 --- peardoc/ja/package/logging/log/observer.xml:1.3 Sun Mar 21 08:55:02 2004 +++ peardoc/ja/package/logging/log/observer.xml Wed Jun 30 08:17:32 2004 @@ -1,38 +1,39 @@ -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> -<refentry id="package.logging.log.observer"> - <refnamediv> - <refname>Log_Observer</refname> - <refpurpose>ãã°è¦³æ¸¬ã¯ã©ã¹</refpurpose> - </refnamediv> - <refsynopsisdiv> - <synopsis>require_once "Log/observer.php";</synopsis> - </refsynopsisdiv> - <refsect1> - <title>説æ</title> - <simpara> - Log_Observerã¯ã©ã¹ã¯ããã°å¦çãç£è¦ãã - éè¦ãªã¤ãã³ããçºçããå ´åã«è¡åãèµ·ããããã«ã - Subject-Observerãã¿ã¼ã³ã®Observerå´ãå®è£ ãã¾ãã - </simpara> - </refsect1> -</refentry> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<!-- CREDITS: haruki --> +<refentry id="package.logging.log.observer"> + <refnamediv> + <refname>Log_Observer</refname> + <refpurpose>ãã° ãªãã¶ã¼ã ã¯ã©ã¹</refpurpose> + </refnamediv> + <refsynopsisdiv> + <synopsis>require_once "Log/observer.php";</synopsis> + </refsynopsisdiv> + <refsect1> + <title>説æ</title> + <simpara> + Log_Observer ã¯ã©ã¹ã¯ããã°å¦çãç£è¦ã + éè¦ãªã¤ãã³ããçºçããå ´åã«ä½ããã®å¦çãè¡ããããã + Subject-Observer ãã¿ã¼ã³ ã® Observer å´ãå®è£ ãã¦ãã¾ãã + </simpara> + </refsect1> +</refentry> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/log/factory.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/log/factory.xml diff -u peardoc/ja/package/logging/log/log/factory.xml:1.3 peardoc/ja/package/logging/log/log/factory.xml:1.4 --- peardoc/ja/package/logging/log/log/factory.xml:1.3 Sun Mar 21 08:56:18 2004 +++ peardoc/ja/package/logging/log/log/factory.xml Wed Jun 30 08:17:33 2004 @@ -1,59 +1,60 @@ -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> -<refentry id="package.logging.log.log.factory"> - <refnamediv> - <refname>Log::factory()</refname> - <refpurpose> - æå®ãã<parameter>log_type</parameter>ã®å ·ä½çãªã®Logã¤ã³ã¹ã¿ã³ã¹ãè¿ã - </refpurpose> - </refnamediv> - <refsynopsisdiv> - <funcsynopsis> - <funcprototype> - <funcdef>object <function>Log::factory</function></funcdef> - <paramdef>string <parameter>log_type</parameter></paramdef> - <paramdef>string <parameter><optional>log_name</optional></parameter></paramdef> - <paramdef>string <parameter><optional>ident</optional></parameter></paramdef> - <paramdef>array <parameter><optional>conf</optional></parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - <refsect1 id="package.logging.log.log.factory.desc"> - &title.desc; - <para> - æå®ãã <parameter>log_type</parameter>ã®ã - å ·ä½ç㪠Log ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã - </para> - </refsect1> - <refsect1 id="package.logging.log.log.factory.return"> - &title.returns; - <para> - <parameter>object</parameter> - - æ°è¦çæããå ·ä½ç㪠Log ã¤ã³ã¹ã¿ã³ã¹ãã - ã¨ã©ã¼ã®å ´å㯠&false; ãè¿ãã¾ãã - </para> - </refsect1> - <refsect1 id="package.logging.log.log.factory.note"> - &title.note; - ¬e.canstatic; - </refsect1> -</refentry> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<!-- CREDITS: haruki --> +<refentry id="package.logging.log.log.factory"> + <refnamediv> + <refname>Log::factory()</refname> + <refpurpose> + æå®ããã¿ã¤ãã®ãã°ã®å ·è±¡ã¤ã³ã¹ã¿ã³ã¹ãè¿ã + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>object <function>Log::factory</function></funcdef> + <paramdef>string <parameter>log_type</parameter></paramdef> + <paramdef>string <parameter><optional>log_name</optional></parameter></paramdef> + <paramdef>string <parameter><optional>ident</optional></parameter></paramdef> + <paramdef>array <parameter><optional>conf</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + <refsect1 id="package.logging.log.log.factory.desc"> + &title.desc; + <para> + æå®ãã <parameter>log_type</parameter> ã® + å ·è±¡ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã + </para> + </refsect1> + <refsect1 id="package.logging.log.log.factory.return"> + &title.returns; + <para> + <parameter>object</parameter> - + æ°ãã«çæãããå ·è±¡ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã + ã¨ã©ã¼ã®å ´å㯠&false; ãè¿ãã¾ãã + </para> + </refsect1> + <refsect1 id="package.logging.log.log.factory.note"> + &title.note; + ¬e.canstatic; + </refsect1> +</refentry> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/diff.php/peardoc/ja/package/logging/log/observer/factory.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/logging/log/observer/factory.xml diff -u peardoc/ja/package/logging/log/observer/factory.xml:1.3 peardoc/ja/package/logging/log/observer/factory.xml:1.4 --- peardoc/ja/package/logging/log/observer/factory.xml:1.3 Sun Mar 21 08:57:33 2004 +++ peardoc/ja/package/logging/log/observer/factory.xml Wed Jun 30 08:17:33 2004 @@ -1,57 +1,58 @@ -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> -<refentry id="package.logging.log.observer.factory"> - <refnamediv> - <refname>Log_Observer::factory</refname> - <refpurpose> - æå®ãã<parameter>observer_type</parameter>ã®å ·ä½çãªã®Logã¤ã³ã¹ã¿ã³ã¹ãè¿ã - </refpurpose> - </refnamediv> - <refsynopsisdiv> - <funcsynopsis> - <funcprototype> - <funcdef>object <function>Log_Observer::factory</function></funcdef> - <paramdef>string <parameter>observer_type</parameter></paramdef> - <paramdef>integer <parameter><optional>priority</optional></parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - <refsect1 id="package.logging.log.observer.factory.desc"> - &title.desc; - <para> - æå®ãã<parameter>observer_type</parameter>ã®ã - å ·ä½ç㪠Log_Observer ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã - </para> - </refsect1> - <refsect1 id="package.logging.log.observer.factory.return"> - &title.returns; - <para> - <parameter>object</parameter> - - æ°è¦çæããå ·ä½ç㪠Log_Observer ã¤ã³ã¹ã¿ã³ã¹ãã - ã¨ã©ã¼ã®å ´å㯠&false; ãè¿ãã¾ãã - </para> - </refsect1> - <refsect1 id="package.logging.log.observer.factory.note"> - &title.note; - ¬e.canstatic; - </refsect1> -</refentry> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<!-- CREDITS: haruki --> +<refentry id="package.logging.log.observer.factory"> + <refnamediv> + <refname>Log_Observer::factory</refname> + <refpurpose> + æå®ããã¿ã¤ãã®ãªãã¶ã¼ãã®å ·è±¡ã¤ã³ã¹ã¿ã³ã¹ãè¿ã + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>object <function>Log_Observer::factory</function></funcdef> + <paramdef>string <parameter>observer_type</parameter></paramdef> + <paramdef>integer <parameter><optional>priority</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + <refsect1 id="package.logging.log.observer.factory.desc"> + &title.desc; + <para> + æå®ãã <parameter>observer_type</parameter> ã® + å ·è±¡ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã + </para> + </refsect1> + <refsect1 id="package.logging.log.observer.factory.return"> + &title.returns; + <para> + <parameter>object</parameter> - + æ°ãã«çæãããå ·è±¡ Log_Observer ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã + ã¨ã©ã¼ã®å ´å㯠&false; ãè¿ãã¾ãã + </para> + </refsect1> + <refsect1 id="package.logging.log.observer.factory.note"> + &title.note; + ¬e.canstatic; + </refsect1> +</refentry> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/co.php/peardoc/ja/package/logging/log.xml?r=1.1&p=1 Index: peardoc/ja/package/logging/log.xml +++ peardoc/ja/package/logging/log.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: haruki Status: ready --> <sect1 id="package.logging.log"> <title>Log</title> <para> ãã¾ãã¾ãªãã°å¦çã¡ã«ããºã ã®æ½è±¡åããã³ Subject-Observer ãã¿ã¼ã³ã å®è£ ãã¦ãã¾ãã </para> &package.logging.log.container; &package.logging.log.examples; &package.logging.log.init; &package.logging.log.log; &package.logging.log.log.factory; &package.logging.log.log.singleton; &package.logging.log.log.attach; &package.logging.log.log.detach; <!-- &package.logging.log.log.notifyall; --> &package.logging.log.observer; &package.logging.log.observer.factory; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/logging/log/log/attach.xml?r=1.1&p=1 Index: peardoc/ja/package/logging/log/log/attach.xml +++ peardoc/ja/package/logging/log/log/attach.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: haruki Status: ready --> <!-- CREDITS: haruki --> <refentry id="package.logging.log.log.attach"> <refnamediv> <refname>Log::attach()</refname> <refpurpose> ãªãã¶ã¼ããç¾å¨ã®ãªã¹ãã«è¿½å ãã </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef><function>Log::attach</function></funcdef> <paramdef>object <parameter>logObserver</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.logging.log.log.attach.desc"> &title.desc; <para> ãã°ã¡ãã»ã¼ã¸ãè¨é²ããããã¨ãéç¥ããããªãã¶ã¼ãã®ãªã¹ãã« <link linkend="package.logging.log.observer">Log_Observer</link> ã®ã¤ã³ã¹ã¿ã³ã¹ã 追å ããã </para> </refsect1> <refsect1 id="package.logging.log.log.attach.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/logging/log/log/detach.xml?r=1.1&p=1 Index: peardoc/ja/package/logging/log/log/detach.xml +++ peardoc/ja/package/logging/log/log/detach.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <!-- CREDITS: haruki --> <refentry id="package.logging.log.log.detach"> <refnamediv> <refname>Log::detach()</refname> <refpurpose> ãªãã¶ã¼ããç¾å¨ã®ãªã¹ãããåé¤ãã </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef><function>Log::detach</function></funcdef> <paramdef>object <parameter>logObserver</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.logging.log.log.detach.desc"> &title.desc; <para> <link linkend="package.logging.log.observer">Log_Observer</link> ã®ã¤ã³ã¹ã¿ã³ã¹ããªãã¶ã¼ãã®ãªã¹ãããåé¤ãã¾ãã </para> </refsect1> <refsect1 id="package.logging.log.log.detach.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/logging/log/log/notifyall.xml?r=1.1&p=1 Index: peardoc/ja/package/logging/log/log/notifyall.xml +++ peardoc/ja/package/logging/log/log/notifyall.xml <!-- $Revision: 1.1 $ --> <refentry id="package.logging.log.log.notifyall"> <refnamediv> <refname>Log::notifyAll()</refname> <refpurpose> Notify all observers. </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef><function>Log::notifyAll</function></funcdef> <paramdef>array <parameter>messageOb</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.logging.log.log.notifyall.desc"> &title.desc; <para> Sends any <link linkend="package.logging.log.observer">Log_Observer</link> objects listening to this Log the message that was just logged. </para> </refsect1> <refsect1 id="package.logging.log.log.notifyall.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/logging/log/log/singleton.xml?r=1.1&p=1 Index: peardoc/ja/package/logging/log/log/singleton.xml +++ peardoc/ja/package/logging/log/log/singleton.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: haruki Status: ready --> <!-- CREDITS: --> <refentry id="package.logging.log.log.singleton"> <refnamediv> <refname>Log::singleton()</refname> <refpurpose> </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>object <function>Log::singleton</function></funcdef> <paramdef>string <parameter>log_type</parameter></paramdef> <paramdef>string <parameter><optional>log_name</optional></parameter></paramdef> <paramdef>string <parameter><optional>ident</optional></parameter></paramdef> <paramdef>array <parameter><optional>conf</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.logging.log.log.singleton.desc"> &title.desc; <para> æå®ãã <parameter>log_type</parameter> ã®å ·è±¡ã¤ã³ã¹ã¿ã³ã¹ã¸ã® ãªãã¡ã¬ã³ã¹ãè¿ãã¾ããåããã©ã¡ã¼ã¿ã§çæãããã¤ã³ã¹ã¿ã³ã¹ãç¡ãå ´åã®ã¿ã æ°ãã«ã¤ã³ã¹ã¿ã³ã¹ãçæãã¾ãã </para> <para> ãã¬ã¼ã使ããç®æãè¤æ°ããããè¤æ°ã®ãã¬ã¼ãçæãããã¯ç¡ãã ãã¬ã¼ãæ¢åãã©ãããæ¯åãã§ãã¯ãããç¡ãå ´åã«ã使ãã¨è¯ãã§ãããã ã·ã³ã°ã«ãã³ãã¿ã¼ã³ã§ã¯ããããã®ãã§ãã¯ã代ãã£ã¦å®è¡ãã¦ããã¾ãã </para> <para> <note> <simpara> <literal>$var = &Log::singleton()</literal> ã¨ããè¨æ³ã§ãã®ã¡ã½ããã ã³ã¼ã«ãã¦ãã ããã ã¡ã½ããåã®åã®ã¢ã³ããµã³ã (&) ãç¡ãã¨ããªãã¡ã¬ã³ã¹ã§ãªãã ã³ãã¼ãè¿ã£ã¦ãã¾ãã¾ãã </simpara> </note> </para> </refsect1> <refsect1 id="package.logging.log.log.singleton.return"> &title.returns; <para> <parameter>object</parameter> - å ·è±¡ãã°ã¤ã³ã¹ã¿ã³ã¹ãã¨ã©ã¼æã¯ &false; ãè¿ããã¾ãã </para> </refsect1> <refsect1 id="package.logging.log.log.singleton.note"> &title.note; ¬e.canstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->