org.apache.log.filter
public class PriorityFilter extends AbstractFilterTarget
| Constructor Summary | |
|---|---|
| PriorityFilter(Priority priority)
Constructor that sets the priority that is filtered against.
| |
| Method Summary | |
|---|---|
| protected boolean | filter(LogEvent event)
Filter the log event based on priority.
|
| void | setPriority(Priority priority)
Set priority used to filter.
|
Parameters: priority the Priority
Parameters: event the event
Returns: return true to discard event, false otherwise
Parameters: priority the priority to filter on