LOGMSG        Write a message to the script log file

Top  Previous  Next

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): CONSOLEMSG, LOGNTEVENT, DASHBOARDMSG, LOG, MESSAGEBOX, PRINT, WRITEFILE