Interface RewritePolicy
- All Known Implementing Classes:
LoggerNameLevelRewritePolicy,MapRewritePolicy,PropertiesRewritePolicy,RewritePolicyAdapter
public interface RewritePolicy
Interface to be implemented by components that support modifications to the LogEvent.
-
Method Summary
-
Method Details
-
rewrite
Rewrite a logging event.- Parameters:
source- a logging event that may be returned or used to create a new logging event.- Returns:
- a logging event or null to suppress processing.
-