Class ForgeHighlight

java.lang.Object
net.minecraftforge.fml.loading.log4j.ForgeHighlight

@Plugin(name="highlightForge", category="Converter") public class ForgeHighlight extends Object
A wrapper for HighlightConverter that auto-disables ANSI when the terminal doesn't support it. Ansi support is determined by TerminalConsoleAppender
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.apache.logging.log4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable org.apache.logging.log4j.core.pattern.HighlightConverter
    newInstance(org.apache.logging.log4j.core.config.Configuration config, String[] options)
    Gets a new instance of the HighlightErrorConverter with the specified options.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • LOGGER

      protected static final org.apache.logging.log4j.Logger LOGGER
  • Constructor Details

    • ForgeHighlight

      public ForgeHighlight()
  • Method Details

    • newInstance

      @Nullable public static @Nullable org.apache.logging.log4j.core.pattern.HighlightConverter newInstance(org.apache.logging.log4j.core.config.Configuration config, String[] options)
      Gets a new instance of the HighlightErrorConverter with the specified options.
      Parameters:
      config - The current configuration
      options - The pattern options
      Returns:
      The new instance