Method System.syslog()
- Method
syslog
voidsyslog(intpriority,stringmsg)- Description
Writes the message
msgto the log with the priorities inpriority.- Parameter
priority Priority is a bit vector with the wanted priorities or:ed together.
0LOG_EMERG, system is unusable.
1LOG_ALERT, action must be taken immediately.
2LOG_CRIT, critical conditions.
3LOG_ERR, error conditions.
4LOG_WARNING, warnind conditions.
5LOG_NOTICE, normal, but significant, condition.
6LOG_INFO, informational message.
7LOG_DEBUG, debug-level message.