logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grobme...@apache.org
Subject svn commit: r1344099 - /logging/log4j/trunk/src/main/java/org/apache/log4j/Logger.java
Date Wed, 30 May 2012 04:50:37 GMT
Author: grobmeier
Date: Wed May 30 04:50:37 2012
New Revision: 1344099

URL: http://svn.apache.org/viewvc?rev=1344099&view=rev
Log:
removed commented code

Modified:
    logging/log4j/trunk/src/main/java/org/apache/log4j/Logger.java

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/Logger.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/Logger.java?rev=1344099&r1=1344098&r2=1344099&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/Logger.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/Logger.java Wed May 30 04:50:37 2012
@@ -41,52 +41,6 @@ public class Logger extends Category {
   }
 
   /**
-    Log a message object with the {@link Level#FINE FINE} level which
-    is just an alias for the {@link Level#DEBUG DEBUG} level.
-
-    <p>This method first checks if this category is <code>DEBUG</code>
-    enabled by comparing the level of this category with the {@link
-    Level#DEBUG DEBUG} level. If this category is
-    <code>DEBUG</code> enabled, then it converts the message object
-    (passed as parameter) to a string by invoking the appropriate
-    {@link org.apache.log4j.or.ObjectRenderer}. It then proceeds to call all the
-    registered appenders in this category and also higher in the
-    hierarchy depending on the value of the additivity flag.
-
-    <p><b>WARNING</b> Note that passing a {@link Throwable} to this
-    method will print the name of the <code>Throwable</code> but no
-    stack trace. To print a stack trace use the {@link #debug(Object,
-    Throwable)} form instead.
-
-    @param message the message object to log. */
-  //public
-  //void fine(Object message) {
-  //  if(repository.isDisabled(Level.DEBUG_INT))
-  //	return;
-  //  if(Level.DEBUG.isGreaterOrEqual(this.getChainedLevel())) {
-  //	forcedLog(FQCN, Level.DEBUG, message, null);
-  //  }
-  //}
-
-
-  /**
-   Log a message object with the <code>FINE</code> level including
-   the stack trace of the {@link Throwable} <code>t</code> passed as
-   parameter.
-
-   <p>See {@link #fine(Object)} form for more detailed information.
-
-   @param message the message object to log.
-   @param t the exception to log, including its stack trace.  */
-  //public
-  //void fine(Object message, Throwable t) {
-  //  if(repository.isDisabled(Level.DEBUG_INT))
-  //	return;
-  //  if(Level.DEBUG.isGreaterOrEqual(this.getChainedLevel()))
-  //	forcedLog(FQCN, Level.FINE, message, t);
-  //}
-
-  /**
    * Retrieve a logger named according to the value of the
    * <code>name</code> parameter. If the named logger already exists,
    * then the existing instance will be returned. Otherwise, a new



Mime
View raw message