commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r159228 [6/6] - in jakarta/commons/proper/logging/branches/DON_QUIXOTE: ./ classic/ classic/src/ classic/src/conf/ classic/src/java/ classic/src/java/org/ classic/src/java/org/apache/ classic/src/java/org/apache/commons/ classic/src/java/org/apache/commons/logging/ classic/src/java/org/apache/commons/logging/impl/ classic/src/media/ classic/src/test/ classic/src/test/org/ classic/src/test/org/apache/ classic/src/test/org/apache/commons/ classic/src/test/org/apache/commons/logging/ classic/src/test/org/apache/commons/logging/avalon/ classic/src/test/org/apache/commons/logging/jdk14/ classic/src/test/org/apache/commons/logging/log4j/ classic/src/test/org/apache/commons/logging/simple/ classic/xdocs/ classic/xdocs/images/ kernel/ kernel/src/ kernel/src/conf/ kernel/src/java/ kernel/src/java/org/ kernel/src/java/org/apache/ kernel/src/java/org/apache/commons/ kernel/src/java/org/apache/commons/logging/ kernel/src/java/org/apache/commons/logging/impl/ kernel/src/media/ kernel/src/test/ kernel/src/test/org/ kernel/src/test/org/apache/ kernel/src/test/org/apache/commons/ kernel/src/test/org/apache/commons/logging/
Date Mon, 28 Mar 2005 10:37:04 GMT
Added: jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/java/org/apache/commons/logging/package.html
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/java/org/apache/commons/logging/package.html?view=auto&rev=159228
==============================================================================
--- jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/java/org/apache/commons/logging/package.html
(added)
+++ jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/java/org/apache/commons/logging/package.html
Mon Mar 28 02:36:50 2005
@@ -0,0 +1,22 @@
+<!--
+
+ Copyright 2001-2004 The Apache Software Foundation.
+ 
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+
+<body>
+<p>JCL2 Kernel API.</p>
+
+</body>

Added: jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/java/overview.html
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/java/overview.html?view=auto&rev=159228
==============================================================================
--- jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/java/overview.html (added)
+++ jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/java/overview.html Mon
Mar 28 02:36:50 2005
@@ -0,0 +1,46 @@
+<html>
+<!--
+
+ Copyright 2001-2004 The Apache Software Foundation.
+ 
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<head><title>JCL Kernel</title></head>
+<body>
+<h2>JCL Kernal</h2>
+<p>
+Contains JCL2 API kernel. 
+Code that uses the API should access only these classes.
+</p>
+<p>
+This differs from the JCL1 API in several important ways.
+</p>
+<ul>
+	<li>The size is much reduced.</li>
+	<li>Code using this distribution will run with just this code.</li>
+	<li>The base implementation is simplified.
+	It should be possible to create JCL implementations
+	that run on early JVMs and in reduced library environments.</li>
+	<li>No bridging implementations are included.</li>
+	<li>Minimal discovery code is included and none is exposed by the API.
+	This allows flexibility in the chose of discovery strategy.
+	</li>
+</ul>
+<p>
+<code>LogFactory</code> now extends <code>LogManager</code>
+and has been retrofitted with compatibility code. 
+This allows backwards compatibility for components compiled
+against JCL1.
+</p>
+</body>
\ No newline at end of file

Added: jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/media/logo.png
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/media/logo.png?view=auto&rev=159228
==============================================================================
Binary file - no diff available.

Propchange: jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/media/logo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/media/logo.xcf
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/media/logo.xcf?view=auto&rev=159228
==============================================================================
Binary file - no diff available.

Propchange: jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/media/logo.xcf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/test/org/apache/commons/logging/TestJCL.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/test/org/apache/commons/logging/TestJCL.java?view=auto&rev=159228
==============================================================================
--- jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/test/org/apache/commons/logging/TestJCL.java
(added)
+++ jakarta/commons/proper/logging/branches/DON_QUIXOTE/kernel/src/test/org/apache/commons/logging/TestJCL.java
Mon Mar 28 02:36:50 2005
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */ 
+package org.apache.commons.logging;
+
+import junit.framework.TestCase;
+
+/**
+ */
+public class TestJCL extends TestCase {
+
+	public void testNoConfiguration() throws Exception {
+		// basic sanity check
+		Log log = LogManager.getLog(TestJCL.class);
+		log.trace("Message");
+		log.trace("Message", new RuntimeException());
+		log.debug("Message");
+		log.debug("Message", new RuntimeException());
+		log.info("Message");
+		log.info("Message", new RuntimeException());
+		log.warn("Message");
+		log.warn("Message", new RuntimeException());
+		log.error("Message");
+		log.error("Message", new RuntimeException());
+		log.fatal("Message");
+		log.fatal("Message", new RuntimeException());
+	}
+	
+	
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message