Class LineSeparatorPatternConverter

All Implemented Interfaces:
PatternConverter

@Plugin(name="LineSeparatorPatternConverter", category="Converter") public final class LineSeparatorPatternConverter extends LogEventPatternConverter
Formats a line separator.
  • Method Details

    • newInstance

      public static LineSeparatorPatternConverter newInstance(String[] options)
      Obtains an instance of pattern converter.
      Parameters:
      options - options, may be null.
      Returns:
      instance of pattern converter.
    • format

      public void format(LogEvent ignored, StringBuilder toAppendTo)
      Formats an event into a string buffer.
      Specified by:
      format in class LogEventPatternConverter
      Parameters:
      ignored - event to format, may not be null.
      toAppendTo - string buffer to which the formatted event will be appended. May not be null.
    • format

      public void format(Object ignored, StringBuilder output)
      Formats an object into a string buffer.
      Specified by:
      format in interface PatternConverter
      Overrides:
      format in class LogEventPatternConverter
      Parameters:
      ignored - event to format, may not be null.
      output - string buffer to which the formatted event will be appended. May not be null.
    • isVariable

      public boolean isVariable()
      Overrides:
      isVariable in class LogEventPatternConverter