PashaTurok commented on code in PR #935:
URL: https://github.com/apache/logging-log4j2/pull/935#discussion_r899961989


##########
src/site/xdoc/manual/layouts.xml.vm:
##########
@@ -1332,10 +1332,19 @@ WARN  [main]: Message 2</pre>
                 <p>You can override the default colors in the optional {style} 
option. For example:
  #if ($isPDF)
                  <pre>%highlight{%d [%t] %-5level: %msg%n%throwable}
-   {FATAL=white, ERROR=red, WARN=blue, INFO=black,
-    DEBUG=green, TRACE=blue}</pre>
+   {FATAL=white, ERROR=red, WARN=bright_blue, INFO=black,
+    DEBUG=bright_green, TRACE=blue}</pre>
  #else
-                 <pre>%highlight{%d [%t] %-5level: 
%msg%n%throwable}{FATAL=white, ERROR=red, WARN=blue, INFO=black, DEBUG=green, 
TRACE=blue}</pre>
+                 <pre>%highlight{%d [%t] %-5level: 
%msg%n%throwable}{FATAL=white, ERROR=red, WARN=bright_blue, INFO=black, 
DEBUG=bright_green, TRACE=blue}</pre>
+ #end
+                </p>
+                <p>At the same time it is possible to use true colors (24 
bit). For example:
+ #if ($isPDF)
+                 <pre>%highlight{%d [%t] %-5level: %msg%n%throwable}
+   {FATAL=white, ERROR=red, WARN=bg_#5792e6 fg_#eef26b bold, INFO=black,
+    DEBUG=#3fe0a8, TRACE=blue}</pre>
+ #else
+                 <pre>%highlight{%d [%t] %-5level: 
%msg%n%throwable}{FATAL=white, ERROR=red, WARN=bg_#5792e6 fg_#eef26b bold, 
INFO=black, DEBUG=#3fe0a8, TRACE=blue}</pre>
  #end
                 </p>

Review Comment:
   @ppkarwasz  I fixed both PRs



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to