equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Log |
16 * @package Zend_Log |
17 * @subpackage Writer |
17 * @subpackage Writer |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id: Null.php 20096 2010-01-06 02:05:09Z bkarwin $ |
20 * @version $Id: Null.php 24593 2012-01-05 20:35:02Z matthew $ |
21 */ |
21 */ |
22 |
22 |
23 /** Zend_Log_Writer_Abstract */ |
23 /** Zend_Log_Writer_Abstract */ |
24 require_once 'Zend/Log/Writer/Abstract.php'; |
24 require_once 'Zend/Log/Writer/Abstract.php'; |
25 |
25 |
26 /** |
26 /** |
27 * @category Zend |
27 * @category Zend |
28 * @package Zend_Log |
28 * @package Zend_Log |
29 * @subpackage Writer |
29 * @subpackage Writer |
30 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
30 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
31 * @license http://framework.zend.com/license/new-bsd New BSD License |
31 * @license http://framework.zend.com/license/new-bsd New BSD License |
32 * @version $Id: Null.php 20096 2010-01-06 02:05:09Z bkarwin $ |
32 * @version $Id: Null.php 24593 2012-01-05 20:35:02Z matthew $ |
33 */ |
33 */ |
34 class Zend_Log_Writer_Null extends Zend_Log_Writer_Abstract |
34 class Zend_Log_Writer_Null extends Zend_Log_Writer_Abstract |
35 { |
35 { |
36 /** |
36 /** |
37 * Write a message to the log. |
37 * Write a message to the log. |
40 * @return void |
40 * @return void |
41 */ |
41 */ |
42 protected function _write($event) |
42 protected function _write($event) |
43 { |
43 { |
44 } |
44 } |
45 |
45 |
46 /** |
46 /** |
47 * Create a new instance of Zend_Log_Writer_Null |
47 * Create a new instance of Zend_Log_Writer_Null |
48 * |
48 * |
49 * @param array|Zend_Config $config |
49 * @param array|Zend_Config $config |
50 * @return Zend_Log_Writer_Null |
50 * @return Zend_Log_Writer_Null |
51 * @throws Zend_Log_Exception |
|
52 */ |
51 */ |
53 static public function factory($config) |
52 static public function factory($config) |
54 { |
53 { |
55 return new self(); |
54 return new self(); |
56 } |
55 } |