category Zend
package Zend_Log
subpackage Filter
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
version $Id$
inherited_from \Zend_Log_Filter_Abstract

 Methods

Filter out any log messages not matching $regexp.

__construct(string $regexp) : void

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
Static

Parameters

$config

array\Zend_Config

Returns

\Zend_Log_Filter_Message

Validate and optionally convert the config to array

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

Parameters

$config

array\Zend_Config

Zend_Config or Array

Exceptions

\Zend_Log_Exception

Returns

array

 Properties

 

$_regexp

$_regexp : string

Default