Scripting API
DiagnosticsModule
DiagnosticsModule Overview

DiagnosticsModule

The DiagnosticsModule class enables diagnostic logging.

Example

Properties

PropertyDescription
typeSystem
(get) typeSystem: TypeSystemMetadata
(set) (Not Available)


Object containing available module and types information.

Methods

MethodDescription
error
error(content: Object): void


Flattens content to a string and prints it to the debug console as an error.
Note: this function can be reassigned to any var (i.e. foo.warn = Diagnostics.error;)
log
log(content: Object): void


Flattens content to a string and prints it to the debug console.
Note: this function can be reassigned to any var (i.e. foo.log = Diagnostics.log;)
warn
warn(content: Object): void


Flattens content to a string and prints it to the debug console as a warning.
Note: this function can be reassigned to any var (i.e. foo.warn = Diagnostics.warn;)
watch
watch(tag: string, signal: BoolSignal | ScalarSignal | StringSignal): void


Adds the specified signal to the watch view in AR Studio with the specified tag.

Classes

ClassDescription
TypeSystemMetadataThe TypeSystemMetadata class contains type system metadata.