Name WriteLog
Type Method
Summary Writes to the log file
Prototype long WriteLog(BSTR Message);
Description This writes a message to the log file.

A "newline" is appended to the line if there is not already one there.

You can also use "LogSend" to send a message to the MUD, and log it, in a single function.
VBscript example
World.writelog "--- Message for the log file ---"
Jscript example
World.WriteLog("--- Message for the log file ---");
PerlScript example
$world->WriteLog("--- Message for the log file ---");
Returns eOK: written OK
eLogFileBadWrite: unable to write to the log file
eLogFileNotOpen: log file was not open

See also ...