import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -16,18 +16,15 @@
|
||||
* @package Zend_Log
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Log.php 9382 2008-05-05 18:55:55Z doctorrock83 $
|
||||
* @version $Id: Log.php 13459 2008-12-26 14:13:34Z yoshida@zend.co.jp $
|
||||
*/
|
||||
|
||||
/** Zend_Log_Filter_Priority */
|
||||
require_once 'Zend/Log/Filter/Priority.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Log
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Log.php 9382 2008-05-05 18:55:55Z doctorrock83 $
|
||||
* @version $Id: Log.php 13459 2008-12-26 14:13:34Z yoshida@zend.co.jp $
|
||||
*/
|
||||
class Zend_Log
|
||||
{
|
||||
@ -187,6 +184,8 @@ class Zend_Log
|
||||
public function addFilter($filter)
|
||||
{
|
||||
if (is_integer($filter)) {
|
||||
/** @see Zend_Log_Filter_Priority */
|
||||
require_once 'Zend/Log/Filter/Priority.php';
|
||||
$filter = new Zend_Log_Filter_Priority($filter);
|
||||
} elseif(!is_object($filter) || ! $filter instanceof Zend_Log_Filter_Interface) {
|
||||
/** @see Zend_Log_Exception */
|
||||
|
Reference in New Issue
Block a user