The ezcLogFilter class provides a structure to set a log filter.
ezcLogFilter has three public member variables:
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.
Source for this file: /EventLog/src/structs/log_filter.php
ezcBaseStruct | --ezcLogFilter
Version: | //autogentag// |
public array(string) |
$category
The category of the log message. The default empty array specifies that all categories are accepted by this filter. |
public int |
$severity
The severities that are accepted by the ezcLogFilter. The default value zero specifies that all severities are accepted. |
public array(string) |
$source
The source of the log message. The default empty array specifies that all sources are accepted by this filter. |
public ezcLogFilter |
__construct(
[ $severity
= 0] , [ $source
= array()] , [ $category
= array()] )
Empty constructor |
Empty constructor
Name | Type | Description |
---|---|---|
$severity |
int | |
$source |
array(string) | |
$category |
array(string) |