Display the contents of the log file.
VIEWLOG("logfile")
VIEWLOG logfile
"logfile" |
- |
Optional. A string, the name of the log file to view. Defaults to current log file. |
Nothing. The log file is displayed.
setconfig("message_logging", 1);
W1: rand(10);
W2: integ(w1);
viewlog
Message logging is enabled for the session. The current contents of the current log file is displayed.
VIEWLOG requires that message logging is enabled with the MESSAGE_LOGGING configuration parameter.
See MONITOR to monitor messages in real time.
See VIEW to display an SPL file.
See VIEWFILE to display a text file.
See VIEWHISTORY to display the command history file.
See VIEWHTML to display a web page.