Concrete Log filter implementation.
Filters a log event by priority.
Only priority numbers smaller or equal a given priority
can pass.
public var value:int
Threshold value
public function LogFilterPriority(val:int)
Constructor, create new filter.
Parameters
| val:int — Threshold value
|
public function filter(event:LogEvent):Boolean
Filter log event and decide if it
is allowed to pass.
Parameters
| event:LogEvent — Log event containig all log related information
|
Returns
| Boolean — Boolean true if data passes the filter
false if data does not pass the filter
|
copyright 2009 by flamelab.de