| Logging |
|---|
| Standard HTML preamble/postamble This button is active if HTML logging is select. Click it to insert a reasonable HTML preamble/postamble into the "file preamble" and "file postamble" boxes. With those commands there you could save the log to disk and open in your web browser, and it would look reasonable. File Preamble: Text to put at the start of the log file (or session, if you are appending to earlier sessions in the same file). (...) Click to edit the file preamble in a larger window. File Postamble: Text to put at the start of the log file. (...) Click to edit the file postamble in a larger window. (?) Click to display a help window reminding you of the special characters that can be placed in the various preamble/postamble boxes, as well as the log file name itself. This currently says ... Log Output If checked, output from the MUD is logged. Log Commands If checked, commands you type are logged. Log Notes If checked, script notes are logged. HTML If checked, logging is in HTML, which will attempt to preserve the colours and spacing in the world window. (Colours only if "colour" is checked). Colour If checked, and HTML is checked, colours are written to the log file. Write world name to log file If checked, the name of the current world is written to the log file. Automatically log to this file: The name of the file to automatically log to. If blank, logging will not commence automatically. You can use special strings (described above) to make the file name contain things like the date, time and world name. Browse... Click to browse for a file name to log to. Preamble / Postamble Enter some text in these boxes if you want each line in the log file to have a prefix/suffix. The preamble will be placed in front of each line, and the postamble will be placed at the end of line. You can incorporate the date and time into this field. See below for more details. For example, to log the time each line arrived you might put: %H:%M ... Output lines: Preamble/postamble for each line of output from the MUD. Commands: Preamble/postamble for each line of commands you type. Script notes: Preamble/postamble for each line of script notes. Raw If checked, logging is in "raw" format. This is intended to simply copy the MUD output straight to the log file exactly as it arrives (after decompression, if MCCP is in use). This lets you make an "image" of what arrived, colour codes, MXP codes and all. You could use this later to "pipe" back into the client to test it, for example, for speed. Normally you wouldn't use this. Omitting some lines from the log file You can use triggers to omit lines from the log file (if they match a trigger). See "Edit trigger" for more details about doing this. Alternatively, you can default to outputting no lines (by unchecking Log Output) and then use a trigger to send particular lines to the log. You can also use aliases to omit outgoing messages from the log file (if they match an alias). See "Edit alias" for more details about doing this. See Also ... Topic
LoggingCommand
ConfigureLogging (Sets logging options)Dialog
TimersFunctions
CloseLog (Closes the log file)
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: dialog=IDD_PREFS_P4)
Documentation contents page |