Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse JET Guide
Previous Page Home Next Page

<c:log>

Standard JET2 Control Tags

log

Write a message to the transformation log. The contents of the tag are written to the log. Nothing is written the template output.

The optional 'severity' attribute may have one of the following values: 'info', 'warning' or 'error'. The default is 'info'.


Tag Summary
required <c:log>
    content consumed by tag evaluation
</c:log>
full tag <c:log severity="value">
    content consumed by tag evaluation
</c:log>

Optional Attributes
severity
The message severity level. Default is 'info'.

Example
<%-- Write a message to the JET execution console --%>
<c:log>
    Hello from my template
</c:log>

<%-- Write an ERROR message to the JET execution console --%>
<c:log severity="error">
    Error from my template
</c:log>


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire