Service.log( ) method
The service.log( ) method is used in scripts to add log statements to a log file without buffering.
The service in the service.log( ) method is the script global variable that is added to a script by the scripting framework at run time.
To use the service.log( ) method in an object structure script, use the ctx input parameter. The service variable is passed to the function as the ctx input parameter. No service variable is passed from the script.
The following example is an object structure definition class script for the overrideValues
callback:
{
ctx.log(....);
}