SP.ULS.traceApiLeave() Method
Applies to: SharePoint Foundation 2010
Traces when the function has finished.
SP.ULS.traceApiLeave();
Remarks
This method logs a trace message that the function specified by a previous call to the traceApiEnter method has finished. It is up to the developer to ensure that the Enter/Leave methods are called in the appropriate order. The user enables tracing by clicking the "Trace API" checkbox.