[LOGBack-dev] svn commit: r394 - logback/classic/trunk/examples/src/chapter1

noreply.ceki at qos.ch noreply.ceki at qos.ch
Sun Aug 6 19:10:38 CEST 2006


Author: ceki
Date: Sun Aug  6 19:10:37 2006
New Revision: 394

Added:
   logback/classic/trunk/examples/src/chapter1/HelloWorld1.java
      - copied, changed from r389, logback/classic/trunk/examples/src/chapter1/BabyStep1.java
   logback/classic/trunk/examples/src/chapter1/HelloWorld2.java
      - copied, changed from r389, logback/classic/trunk/examples/src/chapter1/BabyStep2.java
   logback/classic/trunk/examples/src/chapter1/HelloWorld3.java
      - copied, changed from r389, logback/classic/trunk/examples/src/chapter1/BabyStep3.java
Removed:
   logback/classic/trunk/examples/src/chapter1/BabyStep1.java
   logback/classic/trunk/examples/src/chapter1/BabyStep2.java
   logback/classic/trunk/examples/src/chapter1/BabyStep3.java
Log:
HelloWorld is the tradional name for hello world type applications... :-)

Copied: logback/classic/trunk/examples/src/chapter1/HelloWorld1.java (from r389, logback/classic/trunk/examples/src/chapter1/BabyStep1.java)
==============================================================================
--- logback/classic/trunk/examples/src/chapter1/BabyStep1.java	(original)
+++ logback/classic/trunk/examples/src/chapter1/HelloWorld1.java	Sun Aug  6 19:10:37 2006
@@ -3,11 +3,11 @@
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class BabyStep1 {
+public class HelloWorld1 {
 
 	public static void main(String[] args) {
 
-    Logger logger = LoggerFactory.getLogger(BabyStep1.class);
+    Logger logger = LoggerFactory.getLogger(HelloWorld1.class);
 		logger.debug("Hello world.");
 
 	}

Copied: logback/classic/trunk/examples/src/chapter1/HelloWorld2.java (from r389, logback/classic/trunk/examples/src/chapter1/BabyStep2.java)
==============================================================================
--- logback/classic/trunk/examples/src/chapter1/BabyStep2.java	(original)
+++ logback/classic/trunk/examples/src/chapter1/HelloWorld2.java	Sun Aug  6 19:10:37 2006
@@ -5,14 +5,11 @@
 
 import ch.qos.logback.classic.util.LoggerStatusPrinter;
 
-public class BabyStep2 {
+public class HelloWorld2 {
 
 	public static void main(String[] args) {
-
-    Logger logger = LoggerFactory.getLogger(BabyStep2.class);
-    
+    Logger logger = LoggerFactory.getLogger(HelloWorld2.class);
 		logger.debug("Hello world.");
 		LoggerStatusPrinter.printStatusInDefaultContext();
-
 	}
 }

Copied: logback/classic/trunk/examples/src/chapter1/HelloWorld3.java (from r389, logback/classic/trunk/examples/src/chapter1/BabyStep3.java)
==============================================================================
--- logback/classic/trunk/examples/src/chapter1/BabyStep3.java	(original)
+++ logback/classic/trunk/examples/src/chapter1/HelloWorld3.java	Sun Aug  6 19:10:37 2006
@@ -6,16 +6,13 @@
 import ch.qos.logback.BasicConfigurator;
 import ch.qos.logback.classic.util.LoggerStatusPrinter;
 
-public class BabyStep3 {
+public class HelloWorld3 {
 
-	
-	public static void main(String[] args) {
-    
-    Logger logger = LoggerFactory.getLogger(BabyStep3.class);
+  public static void main(String[] args) {
+    Logger logger = LoggerFactory.getLogger(HelloWorld3.class);
 
 		BasicConfigurator.configureDefaultContext();
 		logger.debug("Hello world.");
 		LoggerStatusPrinter.printStatusInDefaultContext();
-
 	}
 }



More information about the logback-dev mailing list