Register forum user name Search FAQ

FlushLog

Script function

world.FlushLog

Read about scripting

Type

Method

Summary

Flushes the log file to disk

Prototype

long FlushLog();

View list of data type meanings

Description

This flushes (writes out) any cached data for the currently open log file.


Available in MUSHclient version 3.82 onwards.



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

View list of return code meanings

See Also ...

Topic

Logging

Functions

(CloseLog) Closes the log file
(IsLogOpen) Tests to see if a log file is open
(LogInput) The property of whether commands are logged to the log file
(LogNotes) The property of whether notes are logged to the log file
(LogOutput) The property of whether MUD output is logged to the log file
(LogSend) Sends a message to the MUD and logs it
(OpenLog) Opens a log file.
(WriteLog) Writes to the log file

(Help topic: function=FlushLog)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.