Using Trace()

You can write your own information with the trace() function.

Use the following syntax:

trace(msg : String, params : Object...)

To use the trace() command, you must first specify the variable and then show it in a window, as shown here:

var res = googlesvc.doGoogleSearch(
trace( res );

This example writes to the ScriptLog output.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.