Group: | Information and Control |
See also: | setenv getenv |
Function: | logfile | |
Description: | If a command was typed in the command line of the input window and <Enter> was pressed then the command is written to the logfile. |
Usage: | logfile(name) | |
Input: | ||
name | string, name of the file which should be used |
By default the logfile is named "xplore.log".
The logfile is placed in the directory to which XPL4OUTPROG points, e.g. check by 'getenv("XPL4OUTPROG")'. If the user has no write permission for this directory then no logfile is created.
logfile("mysession.log")
sends the command line commands to 'mysession.log'.