- Method syslog
void syslog(int priority, string msg)
Writes the message msg to the log with the priorities in priority.
- Parameter priority
Priority is a bit vector with the wanted priorities or:ed together.
LOG_EMERG, system is unusable.
LOG_ALERT, action must be taken immediately.
LOG_CRIT, critical conditions.
LOG_ERR, error conditions.
LOG_WARNING, warnind conditions.
LOG_NOTICE, normal, but significant, condition.
LOG_INFO, informational message.
LOG_DEBUG, debug-level message.