Jelajahi Sumber

ZF-11096: Wrong sample for Zend_Log::factory()

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23740 44c647ce-9c0f-0410-b52a-842ac1e357ba
intiilapa 15 tahun lalu
induk
melakukan
3f21fa0bba

+ 1 - 1
documentation/manual/en/module_specs/Zend_Log-Factory.xml

@@ -23,7 +23,7 @@ $logger = Zend_Log::factory(array(
             'stream'   => '/tmp/zend.log',
         ),
         'formatterName' => 'Simple',
-        'filterParams' => array(
+        'formatterParams' => array(
             'format'   => '%timestamp%: %message% -- %info%',
         ),
         'filterName'   => 'Priority',

+ 2 - 2
documentation/manual/fr/module_specs/Zend_Log-Factory.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 23675 -->
+<!-- EN-Revision: 23739 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.log.factory">
     <title>Utiliser la fabrique pour créer des logs</title>
@@ -24,7 +24,7 @@ $logger = Zend_Log::factory(array(
             'stream'   => '/tmp/zend.log',
         ),
         'formatterName' => 'Simple',
-        'filterParams' => array(
+        'formatterParams' => array(
             'format'   => '%timestamp%: %message% -- %info%',
         ),
         'filterName'   => 'Priority',