Class MapRewritePolicy

    • Field Detail

      • LOGGER

        protected static final Logger LOGGER
        Allow subclasses access to the status logger without creating another instance.
    • Method Detail

      • rewrite

        public LogEvent rewrite​(LogEvent source)
        Rewrite the event.
        Specified by:
        rewrite in interface RewritePolicy
        Parameters:
        source - a logging event that may be returned or used to create a new logging event.
        Returns:
        The LogEvent after rewriting.