You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/01/23 21:11:00 UTC
svn commit: r1654359 - /tomcat/trunk/java/org/apache/juli/logging/Log.java
Author: markt
Date: Fri Jan 23 20:11:00 2015
New Revision: 1654359
URL: http://svn.apache.org/r1654359
Log:
Java 8 Javadoc fixes
Modified:
tomcat/trunk/java/org/apache/juli/logging/Log.java
Modified: tomcat/trunk/java/org/apache/juli/logging/Log.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/juli/logging/Log.java?rev=1654359&r1=1654358&r2=1654359&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/juli/logging/Log.java (original)
+++ tomcat/trunk/java/org/apache/juli/logging/Log.java Fri Jan 23 20:11:00 2015
@@ -71,6 +71,9 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation)
* when the log level is more than debug. </p>
+ *
+ * @return <code>true</code> if debug level logging is enabled, otherwise
+ * <code>false</code>
*/
public boolean isDebugEnabled();
@@ -81,6 +84,9 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation)
* when the log level is more than error. </p>
+ *
+ * @return <code>true</code> if error level logging is enabled, otherwise
+ * <code>false</code>
*/
public boolean isErrorEnabled();
@@ -91,6 +97,9 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation)
* when the log level is more than fatal. </p>
+ *
+ * @return <code>true</code> if fatal level logging is enabled, otherwise
+ * <code>false</code>
*/
public boolean isFatalEnabled();
@@ -101,6 +110,9 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation)
* when the log level is more than info. </p>
+ *
+ * @return <code>true</code> if info level logging is enabled, otherwise
+ * <code>false</code>
*/
public boolean isInfoEnabled();
@@ -111,6 +123,9 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation)
* when the log level is more than trace. </p>
+ *
+ * @return <code>true</code> if trace level logging is enabled, otherwise
+ * <code>false</code>
*/
public boolean isTraceEnabled();
@@ -121,6 +136,9 @@ public interface Log {
* <p> Call this method to prevent having to perform expensive operations
* (for example, <code>String</code> concatenation)
* when the log level is more than warn. </p>
+ *
+ * @return <code>true</code> if warn level logging is enabled, otherwise
+ * <code>false</code>
*/
public boolean isWarnEnabled();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org