[slf4j-dev] svn commit: r640 - slf4j/trunk/slf4j-api/src/main/java/org/slf4j/impl

ceki at slf4j.org ceki at slf4j.org
Tue Sep 5 22:58:34 CEST 2006


Author: ceki
Date: Tue Sep  5 22:58:34 2006
New Revision: 640

Modified:
   slf4j/trunk/slf4j-api/src/main/java/org/slf4j/impl/MarkerIgnoringBase.java

Log:
added a reasonable impl for toString() method which will be inherited 
by derived classes

Modified: slf4j/trunk/slf4j-api/src/main/java/org/slf4j/impl/MarkerIgnoringBase.java
==============================================================================
--- slf4j/trunk/slf4j-api/src/main/java/org/slf4j/impl/MarkerIgnoringBase.java	(original)
+++ slf4j/trunk/slf4j-api/src/main/java/org/slf4j/impl/MarkerIgnoringBase.java	Tue Sep  5 22:58:34 2006
@@ -144,4 +144,7 @@
     error(msg, t);
   }
 
+  public String toString() {
+	  return this.getClass().getName()+"("+getName()+")";
+  }
 }



More information about the slf4j-dev mailing list