[slf4j-dev] svn commit: r422 - slf4j/trunk/src/java/org/slf4j/impl

ceki at slf4j.org ceki at slf4j.org
Mon Nov 21 11:29:00 CET 2005


Author: ceki
Date: Mon Nov 21 11:28:59 2005
New Revision: 422

Modified:
   slf4j/trunk/src/java/org/slf4j/impl/Log4jLoggerAdapter.java
Log:
Fixed bug #4.

Modified: slf4j/trunk/src/java/org/slf4j/impl/Log4jLoggerAdapter.java
==============================================================================
--- slf4j/trunk/src/java/org/slf4j/impl/Log4jLoggerAdapter.java	(original)
+++ slf4j/trunk/src/java/org/slf4j/impl/Log4jLoggerAdapter.java	Mon Nov 21 11:28:59 2005
@@ -36,7 +36,6 @@
 
 import org.apache.log4j.Level;
 import org.slf4j.Logger;
-import org.slf4j.Marker;
 
 
 /**
@@ -135,10 +134,6 @@
     return logger.isInfoEnabled();
   }
 
-  public final boolean isInfoEnabled(Marker marker) {
-    return isInfoEnabled();
-  }
-
   /**
    * Log a message object at the INFO level.
    *
@@ -275,7 +270,7 @@
    * @param msg - the message object to be logged
    */
   public void error(String msg) {
-    logger.equals(msg);
+    logger.error(msg);
   }
 
   /**



More information about the slf4j-dev mailing list