Closed TWiStErRob closed 7 years ago
There are 4 grayscale colors in ANSI:
30
1;30
37
1;37
Grep console is missing "bright black"; here's how it looks like in IDEA console:
Here are the unhidden escapes:
Here's how it should look like (from Windows 10 cmd; native or ANSICON, not sure):
Notice that in IDEA DEBUG and debug has the same color, while in the terminal they are 2 distinct colors.
DEBUG
debug
I'm using a log4j2.xml equivalent to this:
log4j2.xml
<Configuration strict="true"> <Properties /> <ThresholdFilter level="TRACE" onMatch="neutral" onMismatch="deny" /> <Appenders> <Appender type="Console" name="color-console"> <Layout type="PatternLayout" pattern="%highlight{%date{ISO8601} %-5level}{FATAL=bright magenta, ERROR=bright red, WARN=bright yellow, INFO=dim white, DEBUG=bright black, TRACE=cyan} %style{%message}{bright,white}%n" /> </Appender> </Appenders> <Loggers> <Root level="ALL"> <AppenderRef ref="color-console" /> </Root> </Loggers> </Configuration>
ANSI is no longer supported by this plugin, IntelliJ itself does it instead.
There are 4 grayscale colors in ANSI:
30
(0% white)1;30
(~25% white)37
(~75% white)1;37
(100% white)Grep console is missing "bright black"; here's how it looks like in IDEA console:
Here are the unhidden escapes:
Here's how it should look like (from Windows 10 cmd; native or ANSICON, not sure):
Notice that in IDEA
DEBUG
anddebug
has the same color, while in the terminal they are 2 distinct colors.I'm using a
log4j2.xml
equivalent to this: