Writing to console in Javascript callout is useful in some scenarios of debugging. The print function can be used for writing to stdout.
print('Hello World From Javascript Callout');
would output the message to stdout.
stdout can be seen in trace when you click on the Javascript policy that logged to console.
print('Hello World From Javascript Callout');
would output the message to stdout.
stdout can be seen in trace when you click on the Javascript policy that logged to console.
No comments:
Post a Comment