| category |
Zend |
| package |
Zend_Log |
| subpackage |
Filter |
| copyright |
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
| license |
New BSD License |
| version |
$Id: Priority.php 20260 2010-01-13 18:29:22Z ralph $ |
Methods
Filter logging by $priority. By default, it will accept any log
event whose priority value is less than or equal to $priority.
__construct(integer $priority, string $operator)
Parameters
$priority
integerPriority
$operator
stringComparison operator
Exceptions
Returns TRUE to accept the message, FALSE to block it.
accept(array $event) : boolean
Parameters
Returns
booleanaccepted?
Validate and optionally convert the config to array
_parseConfig(array | \Zend_Config $config) : array
Inherited
| inherited_from |
\Zend_Log_Filter_Abstract::_parseConfig() |
Parameters
Exceptions
Returns
array
Properties
$_operator
$_operator : string
$_priority
$_priority : integer