LOGMSG        Write a message to the script log file

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Script Programming > Script Commands > All Script Commands >

LOGMSG        Write a message to the script log file

Syntax:

LOGMSG

[ message ]

Arguments:

[ message ]

Variable or string containing a message to write to the script log file.

Options:

none

 

 

 

This script command writes a message to the script log file. Messages written in this manner are highlighted (as are error messages) with a preceding arrow indicator to make them easier to locate when scanning a log file.

 

Consider the following example.

 

LOGMSG "What a good thing!"

 

This command would produce an entry in the log file similar to the following.

 

Thu Oct 04 11:41:09 -- Line 5:LOGMSG "What a good thing!"
Thu Oct 04 11:41:18=> What a good thing!

 

 

Related command(s): DISPLAY, CONSOLEMSG, LOGNTEVENT, DASHBOARDMSG, LOG, MESSAGEBOX, PRINT, WRITEFILE

See also: Interactive Debugging