Logging_On

Creates a log file that records all subsequent script execution activity. This can be useful while developing a script, but is not recommended for production use. Logging is only turned on for the current script. Scripts called by this script will not have logging enabled.

If Overwrite Previous is TRUE, a previous log file will be overwritten. Otherwise, the new information will be appended to the existing file.

Parameters

File Path

The log file path name.

Overwrite Previous

Indicates whether the previous log file is overwritten.

Format

Logging_On ("File Path", Overwrite Previous)

Example

Script(Logging_Test)
Activate(From_Menu)
Logging_On("TestingLogfile.txt", FALSE)
Message("A short message, followed by a delay...", 3)
Delay(1500)
Logging_Off
Return

See Also

Logging_Off, Get_MAC_Address, Get_IP_Address, Get_Workstation_ID, Get_Session_Number

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal