public class MapRewritePolicy extends Object implements RewritePolicy
The combination of the RewriteAppender and this policy performs the same actions as the MapFilter from log4j 1.3.
| Constructor and Description | 
|---|
| MapRewritePolicy() | 
| Modifier and Type | Method and Description | 
|---|---|
| LoggingEvent | rewrite(LoggingEvent source)Rewrite a logging event. | 
public LoggingEvent rewrite(LoggingEvent source)
rewrite in interface RewritePolicysource - a logging event that may be returned or used to create a new logging event.Copyright © 1999–2024 QOS.CH Sarl (Switzerland). All rights reserved.