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: Message.php 20982 2010-02-08 15:51:36Z matthew $

 Methods

Filter out any log messages not matching $regexp.

__construct(string $regexp) 

Parameters

$regexp

string

Regular expression to test the log message

Exceptions

\Zend_Log_Exception

Returns TRUE to accept the message, FALSE to block it.

accept(array $event) : boolean

Parameters

$event

array

event data

Returns

booleanaccepted?

Create a new instance of Zend_Log_Filter_Message

factory(array | \Zend_Config $config) : \Zend_Log_Filter_Message

Parameters

$config

array\Zend_Config

Exceptions

\Zend_Log_Exception

Returns

Validate and optionally convert the config to array

_parseConfig(array | \Zend_Config $config) : array
Inherited

inherited_from \Zend_Log_Filter_Abstract::_parseConfig()

Parameters

$config

array\Zend_Config

Zend_Config or Array

Exceptions

\Zend_Log_Exception

Returns

array

 Properties

 

$_regexp

$_regexp : string