commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r370659 - /jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/AvalonLogger.java
Date Thu, 19 Jan 2006 22:48:19 GMT
Author: rdonkin
Date: Thu Jan 19 14:48:16 2006
New Revision: 370659

URL: http://svn.apache.org/viewcvs?rev=370659&view=rev
Log:
Javadoc improvements. Contributed by Boris Unckel. Issue #38174.

Modified:
    jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/AvalonLogger.java

Modified: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/AvalonLogger.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/AvalonLogger.java?rev=370659&r1=370658&r2=370659&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/AvalonLogger.java
(original)
+++ jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/AvalonLogger.java
Thu Jan 19 14:48:16 2006
@@ -94,62 +94,100 @@
     }
 
     /**
-     * @see org.apache.commons.logging.Log#debug(java.lang.Object, java.lang.Throwable)
+    * Logs a message with
+    * <code>org.apache.avalon.framework.logger.Logger.debug</code>.
+    * 
+    * @param message to log
+    * @param t log this cause
+    * @see org.apache.commons.logging.Log#debug(Object, Throwable)
      */
     public void debug(Object o, Throwable t) {
         if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(o), t);
     }
 
     /**
-     * @see org.apache.commons.logging.Log#debug(java.lang.Object)
+     * Logs a message with
+     * <code>org.apache.avalon.framework.logger.Logger.debug</code>.
+     * 
+     * @param message to log.
+     * @see org.apache.commons.logging.Log#debug(Object)
      */
     public void debug(Object o) {
         if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(o));
     }
 
     /**
-     * @see org.apache.commons.logging.Log#error(java.lang.Object, java.lang.Throwable)
+     * Logs a message with
+     * <code>org.apache.avalon.framework.logger.Logger.error</code>.
+     * 
+     * @param message to log
+     * @param t log this cause
+     * @see org.apache.commons.logging.Log#error(Object, Throwable)
      */
     public void error(Object o, Throwable t) {
         if (getLogger().isErrorEnabled()) getLogger().error(String.valueOf(o), t);
     }
 
     /**
-     * @see org.apache.commons.logging.Log#error(java.lang.Object)
+     * Logs a message with
+     * <code>org.apache.avalon.framework.logger.Logger.error</code>.
+     * 
+     * @param message to log
+     * @see org.apache.commons.logging.Log#error(Object)
      */
     public void error(Object o) {
         if (getLogger().isErrorEnabled()) getLogger().error(String.valueOf(o));
     }
 
     /**
-     * @see org.apache.commons.logging.Log#fatal(java.lang.Object, java.lang.Throwable)
+     * Logs a message with
+     * <code>org.apache.avalon.framework.logger.Logger.fatalError</code>.
+     * 
+     * @param message to log.
+     * @param t log this cause.
+     * @see org.apache.commons.logging.Log#fatal(Object, Throwable)
      */
     public void fatal(Object o, Throwable t) {
         if (getLogger().isFatalErrorEnabled()) getLogger().fatalError(String.valueOf(o),
t);
     }
 
     /**
-     * @see org.apache.commons.logging.Log#fatal(java.lang.Object)
+     * Logs a message with
+     * <code>org.apache.avalon.framework.logger.Logger.fatalError</code>.
+     * 
+     * @param message to log
+     * @see org.apache.commons.logging.Log#fatal(Object)
      */
     public void fatal(Object o) {
         if (getLogger().isFatalErrorEnabled()) getLogger().fatalError(String.valueOf(o));
     }
 
     /**
-     * @see org.apache.commons.logging.Log#info(java.lang.Object, java.lang.Throwable)
+     * Logs a message with
+     * <code>org.apache.avalon.framework.logger.Logger.info</code>.
+     * 
+     * @param message to log
+     * @param t log this cause
+     * @see org.apache.commons.logging.Log#info(Object, Throwable)
      */
     public void info(Object o, Throwable t) {
         if (getLogger().isInfoEnabled()) getLogger().info(String.valueOf(o), t);
     }
 
     /**
-     * @see org.apache.commons.logging.Log#info(java.lang.Object)
+     * Logs a message with
+     * <code>org.apache.avalon.framework.logger.Logger.info</code>.
+     * 
+     * @param message to log
+     * @see org.apache.commons.logging.Log#info(Object)
      */
     public void info(Object o) {
         if (getLogger().isInfoEnabled()) getLogger().info(String.valueOf(o));
     }
 
     /**
+     * Is logging to 
+     * <code>org.apache.avalon.framework.logger.Logger.debug</code> enabled?
      * @see org.apache.commons.logging.Log#isDebugEnabled()
      */
     public boolean isDebugEnabled() {
@@ -157,6 +195,8 @@
     }
 
     /**
+     * Is logging to 
+     * <code>org.apache.avalon.framework.logger.Logger.error</code> enabled?
      * @see org.apache.commons.logging.Log#isErrorEnabled()
      */
     public boolean isErrorEnabled() {
@@ -164,6 +204,8 @@
     }
 
     /**
+     * Is logging to 
+     * <code>org.apache.avalon.framework.logger.Logger.fatalError</code> enabled?
      * @see org.apache.commons.logging.Log#isFatalEnabled()
      */
     public boolean isFatalEnabled() {
@@ -171,6 +213,8 @@
     }
 
     /**
+     * Is logging to
+     * <code>org.apache.avalon.framework.logger.Logger.info</code> enabled?
      * @see org.apache.commons.logging.Log#isInfoEnabled()
      */
     public boolean isInfoEnabled() {
@@ -178,6 +222,8 @@
     }
 
     /**
+     * Is logging to 
+     * <code>org.apache.avalon.framework.logger.Logger.debug</code> enabled?
      * @see org.apache.commons.logging.Log#isTraceEnabled()
      */
     public boolean isTraceEnabled() {
@@ -185,6 +231,8 @@
     }
 
     /**
+     * Is logging to 
+     * <code>org.apache.avalon.framework.logger.Logger.warn</code> enabled?
      * @see org.apache.commons.logging.Log#isWarnEnabled()
      */
     public boolean isWarnEnabled() {
@@ -192,28 +240,46 @@
     }
 
     /**
-     * @see org.apache.commons.logging.Log#trace(java.lang.Object, java.lang.Throwable)
+     * Logs a message with
+     * <code>org.apache.avalon.framework.logger.Logger.debug</code>.
+     * 
+     * @param message to log.
+     * @param t log this cause.
+     * @see org.apache.commons.logging.Log#debug(Object, Throwable)
      */
     public void trace(Object o, Throwable t) {
         if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(o), t);
     }
 
     /**
-     * @see org.apache.commons.logging.Log#trace(java.lang.Object)
+     * Logs a message with
+     * <code>org.apache.avalon.framework.logger.Logger.debug</code>.
+     * 
+     * @param message to log
+     * @see org.apache.commons.logging.Log#trace(Object)
      */
     public void trace(Object o) {
         if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(o));
     }
 
     /**
-     * @see org.apache.commons.logging.Log#warn(java.lang.Object, java.lang.Throwable)
+     * Logs a message with
+     * <code>org.apache.avalon.framework.logger.Logger.warn</code>.
+     * 
+     * @param message to log
+     * @param t log this cause
+     * @see org.apache.commons.logging.Log#warn(Object, Throwable)
      */
     public void warn(Object o, Throwable t) {
         if (getLogger().isWarnEnabled()) getLogger().warn(String.valueOf(o), t);
     }
 
     /**
-     * @see org.apache.commons.logging.Log#warn(java.lang.Object)
+     * Logs a message with
+     * <code>org.apache.avalon.framework.logger.Logger.warn</code>.
+     * 
+     * @param message to log
+     * @see org.apache.commons.logging.Log#warn(Object)
      */
     public void warn(Object o) {
         if (getLogger().isWarnEnabled()) getLogger().warn(String.valueOf(o));



---------------------------------------------------------------------
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