[logback-dev] svn commit: r1282 - logback/trunk/logback-classic/src/main/java/org/slf4j

noreply.seb at qos.ch noreply.seb at qos.ch
Thu Jan 25 11:43:58 CET 2007


Author: seb
Date: Thu Jan 25 11:43:57 2007
New Revision: 1282

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

Log:
reformat only

Modified: logback/trunk/logback-classic/src/main/java/org/slf4j/LoggerFactory.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/org/slf4j/LoggerFactory.java	(original)
+++ logback/trunk/logback-classic/src/main/java/org/slf4j/LoggerFactory.java	Thu Jan 25 11:43:57 2007
@@ -36,7 +36,7 @@
 
 import ch.qos.logback.classic.LoggerContext;
 import ch.qos.logback.classic.util.ContextInitializer;
- 
+
 /**
  * The <code>LoggerFactory</code> is a utility class producing Loggers for
  * various logging APIs, most notably for NLOG4J and JDK 1.4 logging. Other
@@ -61,16 +61,15 @@
   private LoggerFactory() {
   }
 
-
   static {
-    try { 
-    loggerContext = new LoggerContext();
-    loggerContext.setName("default");
+    try {
+      loggerContext = new LoggerContext();
+      loggerContext.setName("default");
       ContextInitializer.autoConfig(loggerContext);
     } catch (Exception e) {
       // we should never get here
-      Util.reportFailure("Failed to instantiate logger ["
-          +  LoggerContext.class + "]", e);
+      Util.reportFailure("Failed to instantiate logger [" + LoggerContext.class
+          + "]", e);
     }
   }
 
@@ -101,8 +100,8 @@
   /**
    * Return the {@link ILoggerFactory} instance in use.
    * 
-   * <p>ILoggerFactory instance is bound with this class at compile
-   * time.
+   * <p>
+   * ILoggerFactory instance is bound with this class at compile time.
    * 
    * @return the ILoggerFactory instance in use
    */



More information about the logback-dev mailing list