| Package | com.daveoncode.logging.filters |
| Class | public class LevelFilter |
| Inheritance | LevelFilter AbstractFilterDecorator |
See also
| Method | Defined by | ||
|---|---|---|---|
|
LevelFilter(target:IFilter, value:Object)
| LevelFilter | ||
|
Check if LogRecord's level property is equal to the passed "value" argument
| LevelFilter | ||
| Constant | Defined by | ||
|---|---|---|---|
| LABEL : String = "Level" [static]
A descriptive label assigned to the filter
| LevelFilter | ||
| LevelFilter | () | constructor |
public function LevelFilter(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 level property is equal to the passed "value" argument
Parametersrecord:LogRecord — The object to filter
|
Boolean — Boolean True if the LogRecord's level property is equal to the passed
"value" argument false otherwise
|
| LABEL | constant |
public static const LABEL:String = "Level"A descriptive label assigned to the filter