Package org.apache.logging.log4j.taglib
Class LogTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.jsp.tagext.BodyTag,javax.servlet.jsp.tagext.DynamicAttributes,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
public class LogTag extends LoggingMessageTagSupport
This class implements the<log:log>tag.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Levellevelprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description LogTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LevelgetLevel()protected voidinit()voidsetLevel(java.lang.Object level)-
Methods inherited from class org.apache.logging.log4j.taglib.LoggingMessageTagSupport
doEndTag, doStartTag, getMarker, getMessage, setDynamicAttribute, setMarker, setMessage
-
Methods inherited from class org.apache.logging.log4j.taglib.ExceptionAwareTagSupport
getException, setException
-
Methods inherited from class org.apache.logging.log4j.taglib.LoggerAwareTagSupport
getLogger, release, setLogger, setPageContext
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
level
private Level level
-
-
Method Detail
-
init
protected void init()
- Overrides:
initin classLoggingMessageTagSupport
-
getLevel
protected Level getLevel()
- Specified by:
getLevelin classLoggingMessageTagSupport
-
setLevel
public void setLevel(java.lang.Object level)
-
-