Class AdvancedLogMessageAdapter

java.lang.Object
net.minecraftforge.fml.loading.AdvancedLogMessageAdapter
All Implemented Interfaces:
Serializable, org.apache.logging.log4j.message.Message, org.apache.logging.log4j.util.StringBuilderFormattable

public class AdvancedLogMessageAdapter extends Object implements org.apache.logging.log4j.message.Message, org.apache.logging.log4j.util.StringBuilderFormattable
See Also:
  • Field Details

  • Constructor Details

    • AdvancedLogMessageAdapter

      public AdvancedLogMessageAdapter(Consumer<StringBuilder> logMessageBuilder)
  • Method Details

    • getFormattedMessage

      public String getFormattedMessage()
      Specified by:
      getFormattedMessage in interface org.apache.logging.log4j.message.Message
    • getFormat

      public String getFormat()
      Specified by:
      getFormat in interface org.apache.logging.log4j.message.Message
    • getParameters

      public Object[] getParameters()
      Specified by:
      getParameters in interface org.apache.logging.log4j.message.Message
    • getThrowable

      public Throwable getThrowable()
      Specified by:
      getThrowable in interface org.apache.logging.log4j.message.Message
    • formatTo

      public void formatTo(StringBuilder buffer)
      Specified by:
      formatTo in interface org.apache.logging.log4j.util.StringBuilderFormattable