Author: ceki
Date: Sun Aug 28 18:11:23 2005
New Revision: 236

Added:
   nlog4j/trunk/tests/src/java/org/apache/log4j/CompatibilityTest.java
Modified:
   nlog4j/trunk/docs/changes.html
   nlog4j/trunk/docs/download.html
Log:
added backward CompatibilityTest with log4j

Modified: nlog4j/trunk/docs/changes.html
==============================================================================
--- nlog4j/trunk/docs/changes.html      (original)
+++ nlog4j/trunk/docs/changes.html      Sun Aug 28 18:11:23 2005
@@ -54,11 +54,16 @@
       founder of the log4j project.  In a nutshell, NLOG4J can be
       considered as a drop-in replacement for log4j version 1.2.9.
       </p>
-                                                <h2>LF5, chainsaw and  
<code>NTEventAppender</code></h2>
+                                                <h2>Voluntary omission of LF5, 
chainsaw and
+      <code>NTEventAppender</code></h2>
                                                 <p>In order to save space, it 
was decided <em>not</em> to
       bundle LF5, chainsaw and <code>NTEventAppender</code> with
       NLOG4J.
       </p>
+                                                                           
<h1>Changes in NLOG4J 1.2.17</strong></h1>
+                                    <p>NLOG4J 1.2.17 mirrors the the SLF4J 
binding simplifications
+      introduced in SLF4J 1.0beta7.
+      </p>
                                                                            
<h1>Changes in NLOG4J 1.2.16</strong></h1>
                                     <p>In NLOG4J 1.2.16, contrary to versions 
1.2.14 and 1.2.15, the
       <code>Category</code> class accepts parameters of type
@@ -136,10 +141,10 @@
                                              
             
   
-                                                                <hr/>
+                                                                      <hr/>
 
   
-                                                                               
                                 
+                                                                               
                                             
 
              
                 <!-- FOOTER -->

Modified: nlog4j/trunk/docs/download.html
==============================================================================
--- nlog4j/trunk/docs/download.html     (original)
+++ nlog4j/trunk/docs/download.html     Sun Aug 28 18:11:23 2005
@@ -48,14 +48,14 @@
           <div class="centercol">
              <hr noshade="" size="1"/>
                       
-                                         <h1>NLOG4J version 
1.2.15</strong></h1>
-                                    <p>You can download NLOG4J version 1.2.16, 
with native SLF4J
+                                         <h1>NLOG4J version 
1.2.17</strong></h1>
+                                    <p>You can download NLOG4J version 1.2.17, 
with native SLF4J
          support, including <i>full source code</i>, class files and
          documentation as
           </p>
                                                 <ul>
-            <li><a 
href="http://www.slf4j.org/dist/nlog4j-1.2.16.tar.gz";><b>nlog4j-1.2.16.tar.gz</b></a></li>
-            <li><a 
href="http://www.slf4j.org/dist/nlog4j-1.2.16.zip";><b>nlog4j-1.2.16.zip</b></a></li>
+            <li><a 
href="http://www.slf4j.org/dist/nlog4j-1.2.17.tar.gz";><b>nlog4j-1.2.17.tar.gz</b></a></li>
+            <li><a 
href="http://www.slf4j.org/dist/nlog4j-1.2.17.zip";><b>nlog4j-1.2.17.zip</b></a></li>
           </ul>
                                                 <p>NLOG4J is a 
production-quality log4j-replacement with
           direct SLF4J API support. NLOG4J is maintained by Ceki

Added: nlog4j/trunk/tests/src/java/org/apache/log4j/CompatibilityTest.java
==============================================================================
--- (empty file)
+++ nlog4j/trunk/tests/src/java/org/apache/log4j/CompatibilityTest.java Sun Aug 
28 18:11:23 2005
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) The Apache Software Foundation. All rights reserved.
+ *
+ * This software is published under the terms of the Apache Software
+ * License version 1.1, a copy of which has been included with this
+ * distribution in the LICENSE.txt file.  */
+
+package org.apache.log4j;
+
+
+import junit.framework.TestCase;
+
+/**
+   Log4j/NLOG$J Compatibility test
+
+   @author Ceki G&uuml;lc&uuml;
+
+*/
+public class CompatibilityTest extends TestCase {
+
+
+  public  void test() {
+    Logger logger = Logger.getLogger("test");
+    logger.debug("hello world");
+    logger.info("hello world");
+    logger.warn("hello world");
+    logger.error("hello world");
+    logger.fatal("hello world");
+  }
+}
_______________________________________________
nlog4j-dev mailing list
[email protected]
http://slf4j.org/mailman/listinfo/nlog4j-dev

Reply via email to