Public Member Functions | Protected Attributes

Zend_Log_Filter_Message Class Reference

Inheritance diagram for Zend_Log_Filter_Message:
Zend_Log_Filter_Interface

Public Member Functions

 __construct ($regexp)
 accept ($event)

Protected Attributes

 $_regexp

Detailed Description

Definition at line 34 of file Message.php.


Constructor & Destructor Documentation

__construct ( regexp )

Filter out any log messages not matching $regexp.

Parameters:
string$regexpRegular expression to test the log message
Exceptions:
Zend_Log_Exception

Definition at line 47 of file Message.php.


Member Function Documentation

accept ( event )

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

Parameters:
array$eventevent data
Returns:
boolean accepted?

Implements Zend_Log_Filter_Interface.

Definition at line 62 of file Message.php.


The documentation for this class was generated from the following file: