Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently for highlighting in pattern layout we have only 16 colors, for example:
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %highlight{[%level]}{FATAL=red bright} [%t] %logger{36} - %msg%n" disableAnsi="false"/>
At the same time true colors in SGR function are also supported. So, I suggest to add support of this colors, for example this way:
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %highlight{[%level]}{FATAL=#ff0000} [%t] %logger{36} - %msg%n" disableAnsi="false"/>
and generated code should be:
ESC[38;2;255;0;0m
Attachments
Issue Links
- links to