Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > write_syslog

API Function: write_syslog

Summary:
write string to logfile

Defined In LPC Object:
/usr/System/sys/logd.c

Prototype:
void write_syslog(string logstring, varargs int level)

Can Be Called By:
Anybody (for now)

Description:

Write a string to the system log. The level is an enumerated constant for how severe the problem being logged is, and defaults to maximum severity. Currently anybody can write to this file as often as they want, with strings as large as DGD allows. This will be altered when/if we have to deal with cases of abuse.

Return Value:

Nothing.

Errors:
Usually none.

See Also:
get_level_by_name