commons-dev mailing list archives

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

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

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

Modified: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk14Logger.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk14Logger.java?rev=370652&r1=370651&r2=370652&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk14Logger.java
(original)
+++ jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk14Logger.java
Thu Jan 19 14:23:48 2006
@@ -104,7 +104,10 @@
     }
 
     /**
-     * Log a message with debug log level.
+     * Logs a message with <code>java.util.logging.Level.FINE</code>.
+     *
+     * @param message to log
+     * @see org.apache.commons.logging.Log#debug(Object)
      */
     public void debug(Object message) {
         log(Level.FINE, String.valueOf(message), null);
@@ -112,7 +115,11 @@
 
 
     /**
-     * Log a message and exception with debug log level.
+     * Logs a message with <code>java.util.logging.Level.FINE</code>.
+     *
+     * @param message to log
+     * @param exception log this cause
+     * @see org.apache.commons.logging.Log#debug(Object, Throwable)
      */
     public void debug(Object message, Throwable exception) {
         log(Level.FINE, String.valueOf(message), exception);
@@ -120,7 +127,10 @@
 
 
     /**
-     * Log a message with error log level.
+     * Logs a message with <code>java.util.logging.Level.SEVERE</code>.
+     *
+     * @param message to log
+     * @see org.apache.commons.logging.Log#error(Object)
      */
     public void error(Object message) {
         log(Level.SEVERE, String.valueOf(message), null);
@@ -128,7 +138,11 @@
 
 
     /**
-     * Log a message and exception with error log level.
+     * Logs a message with <code>java.util.logging.Level.SEVERE</code>.
+     *
+     * @param message to log
+     * @param exception log this cause
+     * @see org.apache.commons.logging.Log#error(Object, Throwable)
      */
     public void error(Object message, Throwable exception) {
         log(Level.SEVERE, String.valueOf(message), exception);
@@ -136,7 +150,10 @@
 
 
     /**
-     * Log a message with fatal log level.
+     * Logs a message with <code>java.util.logging.Level.SEVERE</code>.
+     *
+     * @param message to log
+     * @see org.apache.commons.logging.Log#fatal(Object)
      */
     public void fatal(Object message) {
         log(Level.SEVERE, String.valueOf(message), null);
@@ -144,7 +161,11 @@
 
 
     /**
-     * Log a message and exception with fatal log level.
+     * Logs a message with <code>java.util.logging.Level.SEVERE</code>.
+     *
+     * @param message to log
+     * @param exception log this cause
+     * @see org.apache.commons.logging.Log#fatal(Object, Throwable)
      */
     public void fatal(Object message, Throwable exception) {
         log(Level.SEVERE, String.valueOf(message), exception);
@@ -163,7 +184,10 @@
 
 
     /**
-     * Log a message with info log level.
+     * Logs a message with <code>java.util.logging.Level.INFO</code>.
+     *
+     * @param message to log
+     * @see org.apache.commons.logging.Log#info(Object)
      */
     public void info(Object message) {
         log(Level.INFO, String.valueOf(message), null);
@@ -171,7 +195,11 @@
 
 
     /**
-     * Log a message and exception with info log level.
+     * Logs a message with <code>java.util.logging.Level.INFO</code>.
+     *
+     * @param message to log
+     * @param exception log this cause
+     * @see org.apache.commons.logging.Log#info(Object, Throwable)
      */
     public void info(Object message, Throwable exception) {
         log(Level.INFO, String.valueOf(message), exception);
@@ -227,7 +255,10 @@
 
 
     /**
-     * Log a message with trace log level.
+     * Logs a message with <code>java.util.logging.Level.FINEST</code>.
+     *
+     * @param message to log
+     * @see org.apache.commons.logging.Log#trace(Object)
      */
     public void trace(Object message) {
         log(Level.FINEST, String.valueOf(message), null);
@@ -235,7 +266,11 @@
 
 
     /**
-     * Log a message and exception with trace log level.
+     * Logs a message with <code>java.util.logging.Level.FINEST</code>.
+     *
+     * @param message to log
+     * @param exception log this cause
+     * @see org.apache.commons.logging.Log#trace(Object, Throwable)
      */
     public void trace(Object message, Throwable exception) {
         log(Level.FINEST, String.valueOf(message), exception);
@@ -243,7 +278,10 @@
 
 
     /**
-     * Log a message with warn log level.
+     * Logs a message with <code>java.util.logging.Level.WARNING</code>.
+     *
+     * @param message to log
+     * @see org.apache.commons.logging.Log#warn(Object)
      */
     public void warn(Object message) {
         log(Level.WARNING, String.valueOf(message), null);
@@ -251,7 +289,11 @@
 
 
     /**
-     * Log a message and exception with warn log level.
+     * Logs a message with <code>java.util.logging.Level.WARNING</code>.
+     *
+     * @param message to log
+     * @param exception log this cause
+     * @see org.apache.commons.logging.Log#warn(Object, Throwable)
      */
     public void warn(Object message, Throwable exception) {
         log(Level.WARNING, String.valueOf(message), exception);



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