Log4j 2 Tag Library
Tag debug

Equivalent of org.apache.logging.log4j.Logger#debug(). This tag has dynamic attributes enabled. You may specify any number of arbitrary attributes whose values will be substituted in the String message. The "message" must be a String for this to work correctly. See the Log4j 2 manual for more information about message parameters and substitution. Only attribute values are used; attribute names are ignored.

<log:debug message="Log this message." />
<log:debug logger="com.foo.bar" message="${objectToLog}" exception="${exception}"
           marker="${marker}" />
<log:debug logger="com.foo.bar" exception="${exception}" marker="${marker}">
    Log this message

Tag Information
Tag Classorg.apache.logging.log4j.taglib.DebugTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

loggerfalsetruejava.lang.ObjectThe name or instance of the Logger to use to override the default Logger for this JSP.
messagefalsetruejava.lang.ObjectThe message that should be logged. May be a String, Object, or org.apache.logging.log4j.message.Message. Either this attribute or body content are required.
markerfalsetrueorg.apache.logging.log4j.MarkerOptional marker data to include in this logging event.
exceptionfalsetruejava.lang.ThrowableOptional exception that should be logged.

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.