Class FormattingConverter<E>

java.lang.Object
ch.qos.logback.core.pattern.Converter<E>
ch.qos.logback.core.pattern.FormattingConverter<E>
Direct Known Subclasses:
DynamicConverter

public abstract class FormattingConverter<E> extends Converter<E>
  • Constructor Details

  • Method Details

    • getFormattingInfo

      public final FormatInfo getFormattingInfo()
    • setFormattingInfo

      public final void setFormattingInfo(FormatInfo formattingInfo)
    • write

      public final void write(StringBuilder buf, E event)
      Description copied from class: Converter
      In its simplest incarnation, a convert simply appends the data extracted from the event to the buffer passed as parameter.
      Overrides:
      write in class Converter<E>
      Parameters:
      buf - The input buffer where data is appended
      event - The event from where data is extracted