Class NewlineLogScrubber

  • All Implemented Interfaces:
    LogScrubber

    public class NewlineLogScrubber
    extends java.lang.Object
    implements LogScrubber
    LogScrubber implementation which replaces newline and carriage return values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String cleanMessage​(java.lang.String message)
      Updates the given message to account for restrictions for this implementation and returns the result.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NewlineLogScrubber

        public NewlineLogScrubber()
    • Method Detail

      • cleanMessage

        public java.lang.String cleanMessage​(java.lang.String message)
        Description copied from interface: LogScrubber
        Updates the given message to account for restrictions for this implementation and returns the result.
        Specified by:
        cleanMessage in interface LogScrubber
        Parameters:
        message - Original message to clean.
        Returns:
        Cleaned message.