A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/efun/log_file
void log_file(file, message)
string file;
string message;
Append a message to a log file. All log files are in the directory /log/ .
"/log/" is automatically prepended to the file name.
Examples:
log_file("village.crap", message);
log_file("snake.blah", message);
Note:
The message must not contain '\n's.
Don't log to to files in /players/<name>/ directories or to files
in /d/<domain>/ diretories using write_file. Files in /log/ are
automatically rotated by the system, e.g. /log/village.rep rotates
to /log/village.rep.old .
General logging of user actions etc. is forbidden. Also logging of
output from user actions etc. via catch_tell is forbidden.
See also:
This page was generated in LPC
Imprint / Impressum