The proc.log() function

Writes messages to QMF log files that are produced by the application.

Note: The log.js.js_metadatalayer logger category must be set to info or higher.

Syntax

proc.log();

Examples

proc.log(data);
proc.log("Data is already up to date");
Note: This function returns information only in the log file. You can view the information in the Output view and the JavaScript Procedure Logs view.
  • To view the information in the Output view, navigate to View > Preferences > Output and select the Show info messages for JavaScript features check box.
  • To view the information in the JavaScript Procedure Logs view, navigate to Show view > JavaScript Procedure > JavaScript Procedure Logs > Open.