logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1418447 - /logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
Date Fri, 07 Dec 2012 19:16:04 GMT
Author: ggregory
Date: Fri Dec  7 19:16:04 2012
New Revision: 1418447

URL: http://svn.apache.org/viewvc?rev=1418447&view=rev
Log:
Add getMessageFactory().

Modified:
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java?rev=1418447&r1=1418446&r2=1418447&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
Fri Dec  7 19:16:04 2012
@@ -1512,4 +1512,13 @@ public abstract class AbstractLogger imp
     public String toString() {
         return name;
     }
+
+    /**
+     * Gets the message factory.
+     * 
+     * @return the message factory.
+     */
+    public MessageFactory getMessageFactory() {
+        return messageFactory;
+    }
 }



Mime
View raw message