[logback-dev] svn commit: r1610 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic

noreply.ceki at qos.ch noreply.ceki at qos.ch
Fri Jan 25 12:32:25 CET 2008


Author: ceki
Date: Fri Jan 25 12:32:25 2008
New Revision: 1610

Modified:
   logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/Logger.java

Log:
- removing unnecessary "if(isDebugEnabledTest())" test

Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/Logger.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/Logger.java	(original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/Logger.java	Fri Jan 25 12:32:25 2008
@@ -411,9 +411,7 @@
   }
 
   public void debug(String msg, Throwable t) {
-    if (isDebugEnabled()) {
-      filterAndLog(FQCN, null, Level.DEBUG, msg, null, t);
-    }
+    filterAndLog(FQCN, null, Level.DEBUG, msg, null, t);
   }
 
   public final void debug(Marker marker, String msg) {



More information about the logback-dev mailing list