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

ceki at slf4j.org ceki at slf4j.org
Mon Feb 19 23:06:10 CET 2007


Author: ceki
Date: Mon Feb 19 23:06:10 2007
New Revision: 738

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

Log:
slightly better wording

Modified: slf4j/trunk/slf4j-api/src/main/java/org/slf4j/LoggerFactory.java
==============================================================================
--- slf4j/trunk/slf4j-api/src/main/java/org/slf4j/LoggerFactory.java	(original)
+++ slf4j/trunk/slf4j-api/src/main/java/org/slf4j/LoggerFactory.java	Mon Feb 19 23:06:10 2007
@@ -80,7 +80,7 @@
    */
   public static Logger getLogger(String name) {
     if(loggerFactory == null) {
-      throw new IllegalStateException("Logging factory cannot be null. See also http://www.slf4j.org/codes.html#null_LF");
+      throw new IllegalStateException("Logging factory implementation cannot be null. See also http://www.slf4j.org/codes.html#null_LF");
     }
     return loggerFactory.getLogger(name);
   }
@@ -95,7 +95,7 @@
    */
   public static Logger getLogger(Class clazz) {
     if(loggerFactory == null) {
-      throw new IllegalStateException("Logging factory cannot be null. See also http://www.slf4j.org/codes.html#null_LF");
+      throw new IllegalStateException("Logging factory implementation cannot be null. See also http://www.slf4j.org/codes.html#null_LF");
     }
     return loggerFactory.getLogger(clazz.getName());
   }



More information about the slf4j-dev mailing list