| Package | com.daveoncode.logging.filters |
| Class | public class CategoryFilter |
| Inheritance | CategoryFilter AbstractFilterDecorator |
See also
| Method | Defined by | ||
|---|---|---|---|
|
CategoryFilter(target:IFilter, value:Object)
| CategoryFilter | ||
|
Check if LogRecord's category property is equal to the passed "value" argument
| CategoryFilter | ||
| Constant | Defined by | ||
|---|---|---|---|
| LABEL : String = "Category" [static]
A descriptive label assigned to the filter
| CategoryFilter | ||
| CategoryFilter | () | constructor |
public function CategoryFilter(target:IFilter, value:Object)Parameters
target:IFilter — A reference to a wrapped IFilter object
|
|
value:Object — Value against which the filter is applied
|
| apply | () | method |
public override function apply(record:LogRecord):BooleanCheck if LogRecord's category property is equal to the passed "value" argument
Parametersrecord:LogRecord — The object to filter
|
Boolean — Boolean True if the LogRecord's category property is equal to the passed
"value" argument false otherwise
|
| LABEL | constant |
public static const LABEL:String = "Category"A descriptive label assigned to the filter