Microsoft_Log
[ class tree: Microsoft_Log ] [ index: Microsoft_Log ] [ all elements ]

Class: Microsoft_Log_Filter_Message

Source Location: /Log/Filter/Message.php

Class Overview

Microsoft_Log_Filter_Abstract
   |
   --Microsoft_Log_Filter_Message



Author(s):

Version:

  • $Id: Message.php 20982 2010-02-08 15:51:36Z matthew $

Copyright:

  • Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)

Variables

Methods


Inherited Methods

Class: Microsoft_Log_Filter_Abstract

Microsoft_Log_Filter_Abstract::_parseConfig()
Validate and optionally convert the config to array

Class Details

[line 36]


Tags:

version:  $Id: Message.php 20982 2010-02-08 15:51:36Z matthew $
copyright:  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license:  New BSD License


[ Top ]


Class Variables

$_regexp =

[line 41]



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


static method factory [line 65]

static Microsoft_Log_Filter_Message factory( array $config)

Create a new instance of Microsoft_Log_Filter_Message



Tags:

throws:  Microsoft_Log_Exception
access:  public


Parameters:

array   $config  

[ Top ]

constructor __construct [line 49]

Microsoft_Log_Filter_Message __construct( string $regexp)

Filter out any log messages not matching $regexp.



Tags:

throws:  Microsoft_Log_Exception
access:  public


Parameters:

string   $regexp   Regular expression to test the log message

[ Top ]

method accept [line 83]

boolean accept( array $event)

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



Tags:

return:  accepted?
access:  public


Parameters:

array   $event   event data

[ Top ]


Documentation generated on Wed, 18 May 2011 12:06:42 +0200 by phpDocumentor 1.4.3