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

Class: Microsoft_Log_Filter_Suppress

Source Location: /Log/Filter/Suppress.php

Class Overview

Microsoft_Log_Filter_Abstract
   |
   --Microsoft_Log_Filter_Suppress



Author(s):

Version:

  • $Id: Suppress.php 20096 2010-01-06 02:05:09Z bkarwin $

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: Suppress.php 20096 2010-01-06 02:05:09Z bkarwin $
copyright:  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license:  New BSD License


[ Top ]


Class Variables

$_accept =  true

[line 41]



Tags:

access:  protected

Type:   boolean


[ Top ]



Class Methods


static method factory [line 75]

static Microsoft_Log_Filter_Suppress factory( array $config)

Create a new instance of Microsoft_Log_Filter_Suppress



Tags:

throws:  Microsoft_Log_Exception
access:  public


Parameters:

array   $config  

[ Top ]

method accept [line 63]

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 ]

method suppress [line 52]

void suppress( boolean $suppress)

This is a simple boolean filter.

Call suppress(true) to suppress all log events. Call suppress(false) to accept all log events.




Tags:

access:  public


Parameters:

boolean   $suppress   Should all log events be suppressed?

[ Top ]


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