org.apache.log.filter
public class PriorityFilter extends AbstractFilterTarget
| Constructor and Description |
|---|
PriorityFilter(Priority priority)
Constructor that sets the priority that is filtered against.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
filter(LogEvent event)
Filter the log event based on priority.
|
void |
setPriority(Priority priority)
Set priority used to filter.
|
addTarget, processEventpublic PriorityFilter(Priority priority)
priority - the Prioritypublic void setPriority(Priority priority)
priority - the priority to filter onprotected boolean filter(LogEvent event)
filter in class AbstractFilterTargetevent - the event