commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1493210 - /commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/Log.java
Date Fri, 14 Jun 2013 19:08:29 GMT
Author: ggregory
Date: Fri Jun 14 19:08:28 2013
New Revision: 1493210

URL: http://svn.apache.org/r1493210
Log:
Sort methods in AB order.

Modified:
    commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/Log.java

Modified: commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/Log.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/Log.java?rev=1493210&r1=1493209&r2=1493210&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/Log.java (original)
+++ commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/Log.java Fri Jun
14 19:08:28 2013
@@ -61,6 +61,68 @@ public interface Log {
     // ----------------------------------------------------- Logging Properties
 
     /**
+     * Log a message with debug log level.
+     *
+     * @param message log this message
+     */
+    public void debug(Object message);
+
+    /**
+     * Log an error with debug log level.
+     *
+     * @param message log this message
+     * @param t log this cause
+     */
+    public void debug(Object message, Throwable t);
+
+    /**
+     * Log a message with error log level.
+     *
+     * @param message log this message
+     */
+    public void error(Object message);
+
+    /**
+     * Log an error with error log level.
+     *
+     * @param message log this message
+     * @param t log this cause
+     */
+    public void error(Object message, Throwable t);
+
+    /**
+     * Log a message with fatal log level.
+     *
+     * @param message log this message
+     */
+    public void fatal(Object message);
+
+    /**
+     * Log an error with fatal log level.
+     *
+     * @param message log this message
+     * @param t log this cause
+     */
+    public void fatal(Object message, Throwable t);
+
+    // -------------------------------------------------------- Logging Methods
+
+    /**
+     * Log a message with info log level.
+     *
+     * @param message log this message
+     */
+    public void info(Object message);
+
+    /**
+     * Log an error with info log level.
+     *
+     * @param message log this message
+     * @param t log this cause
+     */
+    public void info(Object message, Throwable t);
+
+    /**
      * Is debug logging currently enabled?
      * <p>
      * Call this method to prevent having to perform expensive operations
@@ -126,8 +188,6 @@ public interface Log {
      */
     public boolean isWarnEnabled();
 
-    // -------------------------------------------------------- Logging Methods
-
     /**
      * Log a message with trace log level.
      *
@@ -144,36 +204,6 @@ public interface Log {
     public void trace(Object message, Throwable t);
 
     /**
-     * Log a message with debug log level.
-     *
-     * @param message log this message
-     */
-    public void debug(Object message);
-
-    /**
-     * Log an error with debug log level.
-     *
-     * @param message log this message
-     * @param t log this cause
-     */
-    public void debug(Object message, Throwable t);
-
-    /**
-     * Log a message with info log level.
-     *
-     * @param message log this message
-     */
-    public void info(Object message);
-
-    /**
-     * Log an error with info log level.
-     *
-     * @param message log this message
-     * @param t log this cause
-     */
-    public void info(Object message, Throwable t);
-
-    /**
      * Log a message with warn log level.
      *
      * @param message log this message
@@ -187,34 +217,4 @@ public interface Log {
      * @param t log this cause
      */
     public void warn(Object message, Throwable t);
-
-    /**
-     * Log a message with error log level.
-     *
-     * @param message log this message
-     */
-    public void error(Object message);
-
-    /**
-     * Log an error with error log level.
-     *
-     * @param message log this message
-     * @param t log this cause
-     */
-    public void error(Object message, Throwable t);
-
-    /**
-     * Log a message with fatal log level.
-     *
-     * @param message log this message
-     */
-    public void fatal(Object message);
-
-    /**
-     * Log an error with fatal log level.
-     *
-     * @param message log this message
-     * @param t log this cause
-     */
-    public void fatal(Object message, Throwable t);
 }



Mime
View raw message