world.FlushLog

MUSHclient script function (Method) — introduced in version 3.82

Flushes the log file to disk

Prototype

long FlushLog();

Data type meanings

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

Return code meanings

Related topic

Logging

See also

FunctionDescription
CloseLogCloses the log file
IsLogOpenTests to see if a log file is open
OpenLogOpens a log file.
WriteLogWrites to the log file