public class LocationInfoFilter extends Filter
Constructor and Description |
---|
LocationInfoFilter() |
Modifier and Type | Method and Description |
---|---|
void |
activateOptions() |
int |
decide(LoggingEvent event)
If this event does not already contain location information,
evaluate the event against the expression.
|
boolean |
getConvertInFixToPostFix()
Set whether in-fix expressions should be converted to post-fix.
|
java.lang.String |
getExpression()
Get expression.
|
void |
setConvertInFixToPostFix(boolean newValue)
Set whether in-fix expressions should be converted to post-fix.
|
void |
setExpression(java.lang.String exp)
Set expression.
|
public void activateOptions()
activateOptions
in interface OptionHandler
activateOptions
in class Filter
public void setExpression(java.lang.String exp)
exp
- expression.public java.lang.String getExpression()
public void setConvertInFixToPostFix(boolean newValue)
newValue
- if true, convert/public boolean getConvertInFixToPostFix()
public int decide(LoggingEvent event)
Copyright © 2006-2019 OPS4J - Open Participation Software for Java. All Rights Reserved.