类 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-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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.
-
字段详细资料
-
LOGGER
protected static final org.apache.logging.log4j.Logger LOGGER
-
-
构造器详细资料
-
ForgeHighlight
public ForgeHighlight()
-
-
方法详细资料
-
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.- 参数:
config
- The current configurationoptions
- The pattern options- 返回:
- The new instance
-