logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1404594 - in /logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender: ConsoleAppenderAnsiStyleLayoutMain.java ConsoleAppenderHighlightLayoutMain.java
Date Thu, 01 Nov 2012 13:55:17 GMT
Author: ggregory
Date: Thu Nov  1 13:55:17 2012
New Revision: 1404594

URL: http://svn.apache.org/viewvc?rev=1404594&view=rev
Log:
Javadoc.

Modified:
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderAnsiStyleLayoutMain.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderHighlightLayoutMain.java

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderAnsiStyleLayoutMain.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderAnsiStyleLayoutMain.java?rev=1404594&r1=1404593&r2=1404594&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderAnsiStyleLayoutMain.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderAnsiStyleLayoutMain.java
Thu Nov  1 13:55:17 2012
@@ -7,6 +7,10 @@ import org.apache.logging.log4j.Logger;
 import org.apache.logging.log4j.core.LoggerContext;
 import org.apache.logging.log4j.core.config.Configurator;
 
+/**
+ * Shows how to use ANSI escape codes to color messages. Each message is printed to the console
in color, but the rest of the log entry
+ * (time stamp for example) is in the default color for that console.
+ */
 public class ConsoleAppenderAnsiStyleLayoutMain {
 
     private static final Logger LOG = LogManager.getLogger(ConsoleAppenderAnsiStyleLayoutMain.class);

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderHighlightLayoutMain.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderHighlightLayoutMain.java?rev=1404594&r1=1404593&r2=1404594&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderHighlightLayoutMain.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/ConsoleAppenderHighlightLayoutMain.java
Thu Nov  1 13:55:17 2012
@@ -7,6 +7,10 @@ import org.apache.logging.log4j.Logger;
 import org.apache.logging.log4j.core.LoggerContext;
 import org.apache.logging.log4j.core.config.Configurator;
 
+/**
+ * Shows how to use ANSI escape codes to color messages. Each message is printed to the console
in color, but the rest of the log entry
+ * (time stamp for example) is in the default color for that console.
+ */
 public class ConsoleAppenderHighlightLayoutMain {
 
     private static final Logger LOG = LogManager.getLogger(ConsoleAppenderHighlightLayoutMain.class);



Mime
View raw message