VIEWLOG

Purpose:

Display the contents of the log file.

Syntax:

VIEWLOG("logfile")

VIEWLOG logfile

"logfile"

-

Optional. A string, the name of the log file to view. Defaults to current log file.

Returns:

Nothing. The log file is displayedl.

Example:

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.

Example:

view trapz

 

Same as above accept VIEW is specified in command form.

Remarks:

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 VIEWHTML to display a web page.

See Also:

MONITOR

VIEW

VIEWFILE

VIEWHTML

VIEWPROP

VIEWTEXT

WHICH