Print by screen the log but with date format.
1 print.log
<print.log CDATA='true|false'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
ACDATA | string | false | Allows to send the text to the usertalk web console. If the XSQL-Script is executed from command line has no effect. For a execution with session in Axional Studio the text will appear in the usertalk console. |
Returns | |
---|---|
Type | Description |
String | Return the value passed to the function with time format. |
Example
Print log with time format.
Copy
<xsql-script name='script_println_sample1'> <body> <set name='a' type='integer' value='2' /> <set name='b' type='integer' value='3' /> <println>variable a=<a/></println> <println>variable b=<b/></println> <print.log> <![CDATA[ <xsql-script name='script_print_sample1'> <body> <set name='a' type='integer' value='2' /> <set name='b' type='integer' value='3' /> <print>operation (a+b)=<add><a/><b/></add></print> </body> </xsql-script>]]> </print.log> </body> </xsql-script>