Fork me on GitHub

The following Jelly tag libraries are defined in this project.

jelly:log

Custom tags for generating textual logging information using which will use either log4j, logkit or JDK 1.4 logging depending on the classpath and configuration.

This tag library is also available as an XML Schema

Tag Name Description
debug

A tag which generates DEBUG level logging statement using the given category name.

error

A tag which generates ERROR level logging statement using the given category name.

fatal

A tag which generates FATAL level logging statement using the given category name.

info

A tag which generates INFO level logging statement using the given category name.

trace

A tag which generates TRACE level logging statement using the given category name.

warn

A tag which generates WARN level logging statement using the given category name.

debug

A tag which generates DEBUG level logging statement using the given category name.

Attribute Name Type Description
encode boolean

Sets whether the body of the tag should be encoded as text (so that < and > are encoded as &lt; and &gt;) or leave the text as XML which is the default.

log org.apache.commons.logging.Log

Sets the Log instance to use for logging.

name java.lang.String

Sets the name of the logger to use

error

A tag which generates ERROR level logging statement using the given category name.

Attribute Name Type Description
encode boolean

Sets whether the body of the tag should be encoded as text (so that < and > are encoded as &lt; and &gt;) or leave the text as XML which is the default.

log org.apache.commons.logging.Log

Sets the Log instance to use for logging.

name java.lang.String

Sets the name of the logger to use

fatal

A tag which generates FATAL level logging statement using the given category name.

Attribute Name Type Description
encode boolean

Sets whether the body of the tag should be encoded as text (so that < and > are encoded as &lt; and &gt;) or leave the text as XML which is the default.

log org.apache.commons.logging.Log

Sets the Log instance to use for logging.

name java.lang.String

Sets the name of the logger to use

info

A tag which generates INFO level logging statement using the given category name.

Attribute Name Type Description
encode boolean

Sets whether the body of the tag should be encoded as text (so that < and > are encoded as &lt; and &gt;) or leave the text as XML which is the default.

log org.apache.commons.logging.Log

Sets the Log instance to use for logging.

name java.lang.String

Sets the name of the logger to use

trace

A tag which generates TRACE level logging statement using the given category name.

Attribute Name Type Description
encode boolean

Sets whether the body of the tag should be encoded as text (so that < and > are encoded as &lt; and &gt;) or leave the text as XML which is the default.

log org.apache.commons.logging.Log

Sets the Log instance to use for logging.

name java.lang.String

Sets the name of the logger to use

warn

A tag which generates WARN level logging statement using the given category name.

Attribute Name Type Description
encode boolean

Sets whether the body of the tag should be encoded as text (so that < and > are encoded as &lt; and &gt;) or leave the text as XML which is the default.

log org.apache.commons.logging.Log

Sets the Log instance to use for logging.

name java.lang.String

Sets the name of the logger to use