| Open a connection to syslog facility |
| Declaration: |
| function openlog( string ident, number option, number facility ) |
| Parameters: |
| Parameter #1: string ident - String that will be added to each message, usually the program name |
| Parameter #2: number option - Options is an OR of the following: Unix.LOG_CONS, Unix.LOG_PID, Unix.LOG_NDELAY, Unix.LOG_PERROR |
| Parameter #3: number facility - Describes what facility is logging. It can be any one of: Unix.LOG_KERN, Unix.LOG_USER, Unix.LOG_MAIL, Unix.LOG_DAEMON, Unix.LOG_SYSLOG, Unix.LOG_LPR, Unix.LOG_NEWS, Unix.LOG_UUCP, Unix.LOG_CRON, Unix.LOG_AUTHPRIV, Unix.LOG_FTP, or Unix.LOG_LOCAL0 to Unix.LOG_LOCAL7. |