Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

log

  • Last UpdatedMay 02, 2023
  • 2 minute read

The log statement enables you to add a line to the log file from script. It can be used for debugging purposes.

Platform support

This node is fully supported on XR-Windows, XR-Portable Windows, XR-Portable iOS, XR-Portable Android, and XR-Portable WASM platforms.

XR-WIN

XR-P-WIN

XR-P-IOS

XR-P-AND

XR-P-WASM

Full support

Full support

Full support

Full support

Full support

Full support

Full support

Full support

Full support

Full support

Code example

This is a code example for the log statement.

<command name="updateFlow">

<log level="info" text="Entered command updateFlow with value:%0%" />

</command>

Fields

These are the fields for log statement.

Fields

Type

Use

Default value

Description

condition

sstring

Optional

No default value

The condition used to evaluate log execution.

level

sstring

Optional

Info

Sets the log severity level as: info, error, or fatal.

text

sstring

Optional

No default value

The text to be logged.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in