CloseLog
Script function

world.CloseLog

DOC_scripting Read about scripting

Type

Method

Summary

Closes the log file

Prototype

long CloseLog();

DOC_data_types View list of data type meanings


Description

This closes the currently open log file.


VBscript example

world.closelog



Jscript example

world.closelog();



PerlScript example

$world->closelog;



Python example

world.closelog



Lua example

CloseLog()



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_FlushLog FlushLog (Flushes the log file to disk)
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=CloseLog)

DOC_contents Documentation contents page