public class LocationInfoFilter
extends org.apache.log4j.spi.Filter
Constructor and Description |
---|
LocationInfoFilter() |
Modifier and Type | Method and Description |
---|---|
void |
activateOptions() |
int |
decide(org.apache.log4j.spi.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.
|
String |
getExpression()
Get expression.
|
void |
setConvertInFixToPostFix(boolean newValue)
Set whether in-fix expressions should be converted to post-fix.
|
void |
setExpression(String exp)
Set expression.
|
public void activateOptions()
activateOptions
in interface org.apache.log4j.spi.OptionHandler
activateOptions
in class org.apache.log4j.spi.Filter
public void setExpression(String exp)
exp
- expression.public String getExpression()
public void setConvertInFixToPostFix(boolean newValue)
newValue
- if true, convert/public boolean getConvertInFixToPostFix()
public int decide(org.apache.log4j.spi.LoggingEvent event)
decide
in class org.apache.log4j.spi.Filter
event
- eventCopyright © 2013 The Apache Software Foundation. All Rights Reserved.