[jboss-cvs] jboss-seam/src/main/org/jboss/seam/log ...
Gavin King
gavin.king at jboss.com
Thu Jun 21 00:19:09 EDT 2007
User: gavin
Date: 07/06/21 00:19:09
Modified: src/main/org/jboss/seam/log LogProvider.java Logging.java
Log:
javadoc
Revision Changes Path
1.2 +10 -0 jboss-seam/src/main/org/jboss/seam/log/LogProvider.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LogProvider.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/log/LogProvider.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- LogProvider.java 16 Dec 2006 02:16:28 -0000 1.1
+++ LogProvider.java 21 Jun 2007 04:19:09 -0000 1.2
@@ -1,5 +1,15 @@
package org.jboss.seam.log;
+/**
+ *
+ * Abstracts the underlying logging implementation
+ * (log4j or JDK logging). This saves us from having
+ * to use evil and absurdly overengineered stuff
+ * like commons-logging.
+ *
+ * @author Gavin King
+ *
+ */
public interface LogProvider
{
public void trace(Object object);
1.4 +8 -0 jboss-seam/src/main/org/jboss/seam/log/Logging.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Logging.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/log/Logging.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- Logging.java 15 Feb 2007 17:52:53 -0000 1.3
+++ Logging.java 21 Jun 2007 04:19:09 -0000 1.4
@@ -1,5 +1,13 @@
package org.jboss.seam.log;
+/**
+ * Factory for Seam Logs and LogProviders. If log4j exists
+ * in the classpath, the LogProvider will be log4j. Otherwise,
+ * it will be JDK logging.
+ *
+ * @author Gavin King
+ *
+ */
public class Logging
{
More information about the jboss-cvs-commits
mailing list