public class PropertyRewritePolicy extends java.lang.Object implements RewritePolicy
Constructor and Description |
---|
PropertyRewritePolicy() |
Modifier and Type | Method and Description |
---|---|
LoggingEvent |
rewrite(LoggingEvent source)
Rewrite a logging event.
|
void |
setProperties(java.lang.String props)
Set a string representing the property name/value pairs.
|
public void setProperties(java.lang.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.Copyright © 2006-2019 OPS4J - Open Participation Software for Java. All Rights Reserved.