public class PropertyRewritePolicy extends Object implements RewritePolicy
Modifier and Type | Field and Description |
---|---|
private Map |
properties |
Constructor and Description |
---|
PropertyRewritePolicy() |
Modifier and Type | Method and Description |
---|---|
LoggingEvent |
rewrite(LoggingEvent source)
Rewrite a logging event.
|
void |
setProperties(String props)
Set a string representing the property name/value pairs.
|
private Map properties
public PropertyRewritePolicy()
public void setProperties(String props)
props
- public LoggingEvent rewrite(LoggingEvent source)
rewrite
in interface RewritePolicy
source
- a logging event that may be returned or
used to create a new logging event.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses