Improved java doc comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138842 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//logging/src/java/org/apache/commons/logging/Attic/Log4JCategoryLog.java,v 1.8 2002/01/17 01:47:49 craigmcc Exp $
|
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//logging/src/java/org/apache/commons/logging/Attic/Log4JCategoryLog.java,v 1.9 2002/01/24 18:29:36 rdonkin Exp $
|
||||||
* $Revision: 1.8 $
|
* $Revision: 1.9 $
|
||||||
* $Date: 2002/01/17 01:47:49 $
|
* $Date: 2002/01/24 18:29:36 $
|
||||||
*
|
*
|
||||||
* ====================================================================
|
* ====================================================================
|
||||||
*
|
*
|
||||||
@@ -74,7 +74,7 @@ import org.apache.log4j.Priority;
|
|||||||
* @author Rod Waldhoff
|
* @author Rod Waldhoff
|
||||||
* @author Robert Burrell Donkin
|
* @author Robert Burrell Donkin
|
||||||
*
|
*
|
||||||
* @version $Id: Log4JCategoryLog.java,v 1.8 2002/01/17 01:47:49 craigmcc Exp $
|
* @version $Id: Log4JCategoryLog.java,v 1.9 2002/01/24 18:29:36 rdonkin Exp $
|
||||||
*/
|
*/
|
||||||
public final class Log4JCategoryLog implements Log {
|
public final class Log4JCategoryLog implements Log {
|
||||||
|
|
||||||
@@ -101,7 +101,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Log a message to the Log4j Category with <code>DEBUG</code> priority.
|
||||||
*/
|
*/
|
||||||
public void debug(Object message) {
|
public void debug(Object message) {
|
||||||
category.debug(message);
|
category.debug(message);
|
||||||
@@ -109,7 +109,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Log an error to the Log4j Category with <code>DEBUG</code> priority.
|
||||||
*/
|
*/
|
||||||
public void debug(Object message, Throwable t) {
|
public void debug(Object message, Throwable t) {
|
||||||
category.debug(message,t);
|
category.debug(message,t);
|
||||||
@@ -117,7 +117,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Log a message to the Log4j Category with <code>INFO</code> priority.
|
||||||
*/
|
*/
|
||||||
public void info(Object message) {
|
public void info(Object message) {
|
||||||
category.info(message);
|
category.info(message);
|
||||||
@@ -125,7 +125,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Log an error to the Log4j Category with <code>INFO</code> priority.
|
||||||
*/
|
*/
|
||||||
public void info(Object message, Throwable t) {
|
public void info(Object message, Throwable t) {
|
||||||
category.info(message,t);
|
category.info(message,t);
|
||||||
@@ -133,7 +133,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Log a message to the Log4j Category with <code>WARN</code> priority.
|
||||||
*/
|
*/
|
||||||
public void warn(Object message) {
|
public void warn(Object message) {
|
||||||
category.warn(message);
|
category.warn(message);
|
||||||
@@ -141,7 +141,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Log an error to the Log4j Category with <code>WARN</code> priority.
|
||||||
*/
|
*/
|
||||||
public void warn(Object message, Throwable t) {
|
public void warn(Object message, Throwable t) {
|
||||||
category.warn(message,t);
|
category.warn(message,t);
|
||||||
@@ -149,7 +149,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Log a message to the Log4j Category with <code>ERROR</code> priority.
|
||||||
*/
|
*/
|
||||||
public void error(Object message) {
|
public void error(Object message) {
|
||||||
category.error(message);
|
category.error(message);
|
||||||
@@ -157,7 +157,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Log an error to the Log4j Category with <code>ERROR</code> priority.
|
||||||
*/
|
*/
|
||||||
public void error(Object message, Throwable t) {
|
public void error(Object message, Throwable t) {
|
||||||
category.error(message,t);
|
category.error(message,t);
|
||||||
@@ -165,7 +165,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Log a message to the Log4j Category with <code>FATAL</code> priority.
|
||||||
*/
|
*/
|
||||||
public void fatal(Object message) {
|
public void fatal(Object message) {
|
||||||
category.fatal(message);
|
category.fatal(message);
|
||||||
@@ -173,7 +173,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Log an error to the Log4j Category with <code>FATAL</code> priority.
|
||||||
*/
|
*/
|
||||||
public void fatal(Object message, Throwable t) {
|
public void fatal(Object message, Throwable t) {
|
||||||
category.fatal(message,t);
|
category.fatal(message,t);
|
||||||
@@ -181,15 +181,15 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Check whether the Log4j Category used is enabled for <code>DEBUG</code> priority.
|
||||||
*/
|
*/
|
||||||
public boolean isDebugEnabled() {
|
public boolean isDebugEnabled() {
|
||||||
return category.isDebugEnabled();
|
return category.isDebugEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Check whether the Log4j Category used is enabled for <code>ERROR</code> priority.
|
||||||
*/
|
*/
|
||||||
public boolean isErrorEnabled() {
|
public boolean isErrorEnabled() {
|
||||||
return category.isEnabledFor(Priority.ERROR);
|
return category.isEnabledFor(Priority.ERROR);
|
||||||
@@ -197,7 +197,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Check whether the Log4j Category used is enabled for <code>FATAL</code> priority.
|
||||||
*/
|
*/
|
||||||
public boolean isFatalEnabled() {
|
public boolean isFatalEnabled() {
|
||||||
return category.isEnabledFor(Priority.FATAL);
|
return category.isEnabledFor(Priority.FATAL);
|
||||||
@@ -205,7 +205,7 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Check whether the Log4j Category used is enabled for <code>INFO</code> priority.
|
||||||
*/
|
*/
|
||||||
public boolean isInfoEnabled() {
|
public boolean isInfoEnabled() {
|
||||||
return category.isInfoEnabled();
|
return category.isInfoEnabled();
|
||||||
@@ -213,11 +213,9 @@ public final class Log4JCategoryLog implements Log {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simply call log4j category.
|
* Check whether the Log4j Category used is enabled for <code>WARN</code> priority.
|
||||||
*/
|
*/
|
||||||
public boolean isWarnEnabled() {
|
public boolean isWarnEnabled() {
|
||||||
return category.isEnabledFor(Priority.WARN);
|
return category.isEnabledFor(Priority.WARN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user