3.6 errorLog - Output error log message

Display error log message which is similar to the format of error log messages of MCMD shown upon completion. The format is as follows.

#ERROR# mesage; date and time

3.6.1 Format

MCMD::errorLog(msg[,fileObject])

msg - Message to be displayed.

fileObject - Output file object. Returns standard error (STDERR) when this is not specified.

3.6.2 Example

Example 1 Basic Example

# Display ending error message to standard error. 
> MCMD::errorLog("mburst.rb ended with error. ")
#END# mburst.rb  ended with error.; 2013/11/01 19:09:50

3.6.3 Related Commands

endLog : Output end log message.

messageLog : Output general log message.