org.apache.taglibs.log
Class DebugTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.taglibs.log.LoggerTag
              extended by org.apache.taglibs.log.DebugTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class DebugTag
extends LoggerTag

Logs a debug message to the current commons.logging category.

Author:
Joseph Ottinger, James Strachan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
DebugTag()
           
 
Method Summary
protected  boolean isEnabled(org.apache.commons.logging.Log logCategory)
           
protected  void log(org.apache.commons.logging.Log logCategory, java.lang.String message)
           
 
Methods inherited from class org.apache.taglibs.log.LoggerTag
doAfterBody, doStartTag, getLoggingCategory, setCategory, setMessage
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

DebugTag

public DebugTag()
Method Detail

isEnabled

protected boolean isEnabled(org.apache.commons.logging.Log logCategory)
Specified by:
isEnabled in class LoggerTag

log

protected void log(org.apache.commons.logging.Log logCategory,
                   java.lang.String message)
Specified by:
log in class LoggerTag


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.