Service.log( ) method

The service.log( ) method is used in a script to add log statements to a log file without buffering. Because there is no buffering, the service.log( ) method allows real-time logging.

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(....);
}


Feedback