Syslog module for Ruby Version 0.1.2 Yoshida Masato - Introduction Ruby interface to the UNIX syslog(3) calls. - Install This can work with ruby-1.3 or later. I recommend you to use ruby-1.6.2 or later. Make and install usually. For example, when Ruby supports dynamic linking on your OS, ruby extconf.rb make make install - Usage If you do not link this module with Ruby statically, require "syslog" before using. - Module Functions Syslog::openlog(ident, option, facility) Open a connection to the system logger. The ident is a string and is typically the program name. The option and facility are integers that shown in the next section. Syslog::syslog(priority, format, ...) Generate a log message. The priority is a integer that shown in the next section. The format is a string. The remaining args are strings and/or integers up to 9. Syslog::closelog Close the log file. - Module Constants These constant may vary from OS to OS. You must see your man pages of syslog(3). -- options Syslog::LOG_CONS Syslog::LOG_NDELAY Syslog::LOG_PERROR Syslog::LOG_PID -- facilities Syslog::LOG_AUTH Syslog::LOG_AUTHPRIV Syslog::LOG_CRON Syslog::LOG_DAEMON Syslog::LOG_KERN Syslog::LOG_LOCAL0 Syslog::LOG_LOCAL1 Syslog::LOG_LOCAL2 Syslog::LOG_LOCAL3 Syslog::LOG_LOCAL4 Syslog::LOG_LOCAL5 Syslog::LOG_LOCAL6 Syslog::LOG_LOCAL7 Syslog::LOG_LPR Syslog::LOG_MAIL Syslog::LOG_NEWS Syslog::LOG_SYSLOG Syslog::LOG_USER Syslog::LOG_UUCP -- priorities Syslog::LOG_EMERG Syslog::LOG_ALERT Syslog::LOG_CRIT Syslog::LOG_ERR Syslog::LOG_WARNING Syslog::LOG_NOTICE Syslog::LOG_INFO Syslog::LOG_DEBUG - Copying This extension module is copyrighted free software by Yoshida Masato. You can redistribute it and/or modify it under the same term as Ruby. - Author Yoshida Masato - History Mar 9, 2001 version 0.1.2 openlog fixed Aug 8, 2000 version 0.1.1 remove debug print Jul 9, 1999 version 0.1