Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.logging.log4j.core.appender.rewrite
Interface RewritePolicy

All Known Implementing Classes:
  MapRewritePolicy, PropertiesRewritePolicy

    public interface RewritePolicy

Interface to be implemented by components that support modifications to the LogEvent.

Method Summary
`LogEvent` | `rewrite(LogEvent source)` Rewrite a logging event.

Method Detail

### rewrite

    LogEvent rewrite(LogEvent source)

  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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.