1
0

Trivial javadoc patch to add return type info for isXXXEnabled methods.

Thanks to Boris Unckel for patch; see bugzilla#38783.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@381838 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Simon Kitching
2006-02-28 23:57:11 +00:00
parent eb89dd6405
commit 08cd79161b

View File

@@ -71,6 +71,8 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations * <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation) * (for example, <code>String</code> concatenation)
* when the log level is more than debug. </p> * when the log level is more than debug. </p>
*
* @return true if debug is enabled in the underlying logger.
*/ */
public boolean isDebugEnabled(); public boolean isDebugEnabled();
@@ -81,6 +83,8 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations * <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation) * (for example, <code>String</code> concatenation)
* when the log level is more than error. </p> * when the log level is more than error. </p>
*
* @return true if error is enabled in the underlying logger.
*/ */
public boolean isErrorEnabled(); public boolean isErrorEnabled();
@@ -91,6 +95,8 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations * <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation) * (for example, <code>String</code> concatenation)
* when the log level is more than fatal. </p> * when the log level is more than fatal. </p>
*
* @return true if fatal is enabled in the underlying logger.
*/ */
public boolean isFatalEnabled(); public boolean isFatalEnabled();
@@ -101,6 +107,8 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations * <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation) * (for example, <code>String</code> concatenation)
* when the log level is more than info. </p> * when the log level is more than info. </p>
*
* @return true if info is enabled in the underlying logger.
*/ */
public boolean isInfoEnabled(); public boolean isInfoEnabled();
@@ -111,6 +119,8 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations * <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation) * (for example, <code>String</code> concatenation)
* when the log level is more than trace. </p> * when the log level is more than trace. </p>
*
* @return true if trace is enabled in the underlying logger.
*/ */
public boolean isTraceEnabled(); public boolean isTraceEnabled();
@@ -121,6 +131,8 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations * <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation) * (for example, <code>String</code> concatenation)
* when the log level is more than warn. </p> * when the log level is more than warn. </p>
*
* @return true if warn is enabled in the underlying logger.
*/ */
public boolean isWarnEnabled(); public boolean isWarnEnabled();