Path

ez components / documentation / api reference / 1.0.1 / eventlog


eZ Components 1.0.1

EventLog: ezcLogFilter

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcLogFilter

The ezcLogFilter class provides a structure to set a log filter. [source]
ezcLogFilter has three public member variables:
  • severity, contains the severity of the log message.
  • source, contain the source of the log message.
  • category, contains the category of the log message.
Severity is an integer mask that expects one more multiple ezcLog severity constants. Multiple values can be assigned by using a logical-or on the values. The value zero represents all possible severities.
Source and category are an array. An empty array reprseents all possible sources and categories.
The ezclogFilter class is mainly used by the ezcLog::attach() and ezcLog::detach() methods.

Member Variables

public array(string) $category
The category of the log message.
public int $severity
The severities that are accepted by the ezcLogFilter.
public array(string) $source
The source of the log message.

Method Summary

public ezcLogFilter __construct( [$severity = 0], [$source = array()], [$category = array()] )
Empty constructor

Methods

__construct

ezcLogFilter __construct( [ $severity = 0], [ $source = array()], [ $category = array()] )
Empty constructor

Parameters

Name Type Description
$severity  
$source array  
$category array  

Last updated: Fri, 02 Nov 2007