LOG
Command: #log {option} {argument}
The log command allows logging session output to file. You can set the
data type to either plain, raw, or html with the config command.
#log append <filename>
Start logging to the given file, if the file already exists it won't
be overwritten and data will be appended to the end.
#log make <directory>
Create the given directory.
#log move <filename_1> <filename_2>
Move filename_1 to filename_2. This can be any file and doesn't need
to be a log file.
#log overwrite <filename>
Start logging to the given file, if the file already exists it will
be overwritten.
#log off
Stop logging.
#log remove <filename>
Remove the file. This can be any file and doesn't need to be a log
file.
#log timestamp <format>
When set the timestamp will be prepended to each line logged to file.
The format will be formatted as a date using the strftime format
specifiers as described in #help time.
Related: read, scan, textin, time and write.
|