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.