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