Class FullLocationPatternConverter

All Implemented Interfaces:
LocationAware, PatternConverter

@Plugin(name="FullLocationPatternConverter", category="Converter") public final class FullLocationPatternConverter extends LogEventPatternConverter implements LocationAware
Format the event's line location information.
  • Method Details

    • newInstance

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

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

      public boolean requiresLocation()
      Specified by:
      requiresLocation in interface LocationAware