world.FlushLog
Flushes the log file to disk
Prototype
long FlushLog();
Description
This flushes (writes out) any cached data for the currently open log file.
VBscript example
world.FlushLog
Jscript example
world.FlushLog();
PerlScript example
$world->FlushLog;
Python example
world.FlushLog
Lua example
FlushLog()
Return value
eOK: closed OK
eLogFileNotOpen: log file was not open
Related topic
See also
| Function | Description |
|---|---|
| CloseLog | Closes the log file |
| IsLogOpen | Tests to see if a log file is open |
| OpenLog | Opens a log file. |
| WriteLog | Writes to the log file |