logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1580770 - /logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java
Date Mon, 24 Mar 2014 06:23:54 GMT
Author: ggregory
Date: Mon Mar 24 06:23:54 2014
New Revision: 1580770

URL: http://svn.apache.org/r1580770
Log:
Javadoc: small improvements.

Modified:
    logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java

Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java?rev=1580770&r1=1580769&r2=1580770&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java
Mon Mar 24 06:23:54 2014
@@ -26,13 +26,13 @@ import java.util.ResourceBundle;
 import org.apache.logging.log4j.status.StatusLogger;
 
 /**
- * This class is not the recommended way to Localize messages. It is provided to provide
some level
- * of compatibility with Log4j 1.x.
- *
- * The recommended way to localize messages is to simply log a message id. Log events should
- * then be recorded without formatting into some kind of data store. The application that
is
- * used to read the events and display them to the user should also localize and format the
- * messages for the end user.
+ * Provides some level of compatibility with Log4j 1.x and convenience but is not the recommended
way to Localize
+ * messages.
+ * <p>
+ * The recommended way to localize messages is to log a message id. Log events should then
be recorded without
+ * formatting into a data store. The application that is used to read the events and display
them to the user can then
+ * localize and format the messages for the end user.
+ * </p>
  */
 public class LocalizedMessage implements Message, LoggerNameAwareMessage {
     private static final long serialVersionUID = 3893703791567290742L;



Mime
View raw message