FlushLog
Script function

world.FlushLog

DOC_scripting Read about scripting

Type

Method

Summary

Flushes the log file to disk

Prototype

long FlushLog();

DOC_data_types View list of 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


DOC_errors View list of return code meanings


See Also ...

Topic

DOC_logging Logging

Functions

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

(Help topic: function=FlushLog)

DOC_contents Documentation contents page