All help topics · Link to this topic
Showing help on 'server_log()'
Syntax: server_log (STR message [, INT level]) => NONEThe text in message is sent to the server log with a distinctive prefix (so that it can be distinguished from server-generated messages)
If the programmer is not a wizard, then E_PERM is raised.
If level is provided and is an integer between 0 and 7 inclusive, then message is marked in the server log as one of eight predefined types, from simple log message to error message. Otherwise, if level is provided and true, then message is marked in the server log as an error.