Register forum user name Search FAQ

CloseLog

Script function

world.CloseLog

Read about scripting

Type

Method

Summary

Closes the log file

Prototype

long CloseLog();

View list of data type meanings

Description

This closes the currently open log file.

If you have a log file postamble declared this is written to the log file (note that this is inconsistent with what OpenLog does).


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

View list of return code meanings

See Also ...

Topic

Logging

Functions

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

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.