log(priority, format_string, *format_args)
Class Public methods
Log a message with the specified priority. Example:
Syslog.log(Syslog::LOG_CRIT, "Out of disk space")
Syslog.log(Syslog::LOG_CRIT, "User %s logged in", ENV['USER'])
The priority levels, in descending order, are:
LOG_EMERG
System is unusable
LOG_ALERT
Action needs to be taken immediately
LOG_CRIT
A critical condition has occurred
LOG_ERR
An error occurred
LOG_WARNING
Warning of a possible problem
LOG_NO