Javadoc improvements. Contributed by Boris Unckel. Issue #38174.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370654 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -134,7 +134,10 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
}
|
||||
|
||||
/**
|
||||
* 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);
|
||||
@@ -142,7 +145,11 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 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);
|
||||
@@ -150,7 +157,10 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 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);
|
||||
@@ -158,7 +168,11 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 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);
|
||||
@@ -166,7 +180,10 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 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);
|
||||
@@ -174,7 +191,11 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 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);
|
||||
@@ -193,7 +214,10 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 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);
|
||||
@@ -201,7 +225,11 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 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);
|
||||
@@ -257,7 +285,10 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 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);
|
||||
@@ -265,7 +296,11 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 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);
|
||||
@@ -273,7 +308,10 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 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);
|
||||
@@ -281,7 +319,11 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 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);
|
||||
|
||||
Reference in New Issue
Block a user