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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

ceki-2
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);
   }
 
   /**
_______________________________________________
dev mailing list
[hidden email]
http://slf4j.org/mailman/listinfo/dev