logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1418475 - /logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/LoggerContext.java
Date Fri, 07 Dec 2012 21:06:40 GMT
Author: ggregory
Date: Fri Dec  7 21:06:39 2012
New Revision: 1418475

URL: http://svn.apache.org/viewvc?rev=1418475&view=rev
Log:
Sort members alphabetically.

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

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/LoggerContext.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/LoggerContext.java?rev=1418475&r1=1418474&r2=1418475&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/LoggerContext.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/spi/LoggerContext.java
Fri Dec  7 21:06:39 2012
@@ -24,6 +24,12 @@ import org.apache.logging.log4j.Logger;
 public interface LoggerContext {
 
     /**
+     * An anchor for some other context, such as a ServletContext.
+     * @return The external context.
+     */
+    Object getExternalContext();
+
+    /**
      * Returns a Logger.
      * @param name The name of the Logger to return.
      * @return The logger with the specified name.
@@ -36,10 +42,4 @@ public interface LoggerContext {
      * @return true if the Logger exists, false otherwise.
      */
     boolean hasLogger(String name);
-
-    /**
-     * An anchor for some other context, such as a ServletContext.
-     * @return The external context.
-     */
-    Object getExternalContext();
 }



Mime
View raw message