JWAVE User Guide > JWAVE Wrapper API > UPDATE_LOG Procedure  
  

UPDATE_LOG Procedure  
Writes logging and debugging information to JWAVE log file(s).
Usage
UpdateLog[, text ]
Input Parameters
text—(optional) The text to output to the log. By default, the name of the calling procedure and a time stamp are output if no text is supplied.
Keywords
NoManagerLog—If nonzero, the log text is output to only the session log, and not the manager log.
TimeStamp—If nonzero, a time stamp is prefixed to the text. The default is no time stamp if you supply text. The format of a timestamped log is:
mm/dd/yyyy hh:mm:ss.sss : text
Discussion
This procedure can output to two different log files: the Session log and the Manager log.
*The Session log is a separate log file created for each PV‑WAVE session (process).
*The Manager log is used by the JWAVE Manager for all PV‑WAVE sessions.
UPDATE_LOG always writes to the Session log. By default, it also logs to the Manager log, but you can turn this off with NoManagerLog.
The JWAVE Manager controls whether or not any logging occurs. If you not receiving a log file, you must configure the JWAVE Manager to produce a log file. See "Using the JWAVE Configuration Tool" for information on changing the log output.
The JWAVE server automatically executes the command:
UPDATE_LOG, /TimeStamp
every time a JWAVE wrapper function is called.

Version 3.6
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.