Class ForgeHighlight
java.lang.Object
net.minecraftforge.fml.loading.log4j.ForgeHighlight
A wrapper for
HighlightConverter
that auto-disables ANSI when the terminal doesn't support it.
Ansi support is determined by TerminalConsoleAppender-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable org.apache.logging.log4j.core.pattern.HighlightConverter
newInstance(org.apache.logging.log4j.core.config.Configuration config, String[] options)
Gets a new instance of theHighlightErrorConverter
with the specified options.
-
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 theHighlightErrorConverter
with the specified options.- Parameters:
config
- The current configurationoptions
- The pattern options- Returns:
- The new instance
-