util:logMessage

Will write messages/comments to either the browser log or inline html comments in the the html page. This tag is meant to be used by the template developers when creating the JSP-pages.

The tag can make it easier to locate error in the JSP-pages.

When sending messages to the BROWSER-log use the message attribute, and when creating inline html-comments use the comment attribute.

The messages and comments will only be displayed when the parameter:'debug=true' is added to the url, e.g. www.escenic.com?debug=true

If the comment attribute is empty, the body content of the tag will be used instead.

Syntax
<util:logMessage
   category="..."?
   comment="..."?
   commentStyle="..."?
   level="..."?
   message="..."?>
   ...
</util:logMessage>
Attributes
category

The category all messages will be logged to

This attribute can only be used together with the message attribute.

comment

The comment will be added to the jsp page in the specified comment style.

commentStyle

Style of the comment. The default comment style is html-comments. This attributes allows you to change the comment style.

Allowed styles: html, xml, css, javaScript.

This attribute must be used together with the comment attribute.

level

Debug level. Default value is debug.

This attribute can only be used together with the message attribute.

message

The message to be written to the browser log.