Class ForgeHighlight
- java.lang.Object
-
- net.minecraftforge.fml.loading.log4j.ForgeHighlight
-
@Plugin(name="highlightForge", category="Converter") public class ForgeHighlight extends java.lang.Object
A wrapper forHighlightConverter
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 org.apache.logging.log4j.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description ForgeHighlight()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.logging.log4j.core.pattern.HighlightConverter
newInstance(org.apache.logging.log4j.core.config.Configuration config, java.lang.String[] options)
Gets a new instance of theHighlightErrorConverter
with the specified options.
-
-
-
Method Detail
-
newInstance
@Nullable public static org.apache.logging.log4j.core.pattern.HighlightConverter newInstance(org.apache.logging.log4j.core.config.Configuration config, java.lang.String[] options)
Gets a new instance of theHighlightErrorConverter
with the specified options.- Parameters:
config
- The current configurationoptions
- The pattern options- Returns:
- The new instance
-
-