September 2001
Intermediate to advanced
768 pages
32h 45m
English
bool syslog(int priority, string message)
| priority | Integer flag to contain the facility and level of the log message |
| message | Message to log |
Sends a message to the system logger.
Returns:
TRUE
Description:
The syslog() function sends messages to the system logger. On UNIX-like systems, this is generally syslogd (run man syslogd for more information). On the Windows family of operating systems, this is the event log. Not all flavors of the Windows operating systems have the event log facility—see your system’s help files and manual for more information.
The priority argument is a combination of the level and facility of the message. The message level indicates the severity of the log message; the facility tells the system logger what ...
Read now
Unlock full access