Log/Filter/Message.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Log
- subpackage
- Filter
- version
- $Id: Message.php 20982 2010-02-08 15:51:36Z matthew $
- Classes
- Zend_Log_Filter_Message
Description
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
Zend_Log_Filter_Message
- Extends from
- Zend_Log_Filter_Abstract
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Log
- subpackage
- Filter
- version
- $Id: Message.php 20982 2010-02-08 15:51:36Z matthew $
- Properties
- $_regexp
- Methods
- __construct
- factory
- accept
Description
Properties
string $_regexp = ''
Details
- $_regexp
- string
- visibility
- protected
- default
- final
- false
- static
- false
Methods
__construct(
string $regexp
)
:
Filter out any log messages not matching $regexp.
Arguments
- $regexp
- string
Regular expression to test the log message
Details
- visibility
- public
- final
- false
- static
- false
- throws
accept(
array $event
)
:
boolean
Returns TRUE to accept the message, FALSE to block it.
Arguments
- $event
- array
event data
Details
- visibility
- public
- final
- false
- static
- false
factory(
array|Zend_Config $config
)
:
Zend_Log_Filter_Message
Create a new instance of Zend_Log_Filter_Message
Arguments
- $config
- arrayZend_Config
Details
- visibility
- public
- final
- false
- static
- true
- throws