public class PropertyRewritePolicy extends Object implements RewritePolicy
| Constructor and Description |
|---|
PropertyRewritePolicy() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.log4j.spi.LoggingEvent |
rewrite(org.apache.log4j.spi.LoggingEvent source)
Rewrite a logging event.
|
void |
setProperties(String props)
Set a string representing the property name/value pairs.
|
public void setProperties(String props)
props - public org.apache.log4j.spi.LoggingEvent rewrite(org.apache.log4j.spi.LoggingEvent source)
rewrite in interface RewritePolicysource - a logging event that may be returned or
used to create a new logging event.Copyright © 2002-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.