Returns a list of severity levels, as defined in RFC 3164.
Array of the possible severity levels for log messages.
http://www.ietf.org/rfc/rfc3164.txt
watchdog()
function watchdog_severity_levels() {
return array(
WATCHDOG_EMERGENCY => t('Emergency'),
WATCHDOG_ALERT => t('Alert'),
WATCHDOG_CRITICAL => t('Critical'),
WATCHDOG_ERROR => t('Error'),
WATCHDOG_WARNING => t('Warning'),
WATCHDOG_NOTICE => t('Notice'),
WATCHDOG_INFO => t('Info'),
WATCHDOG_DEBUG => t('Debug'),
);
}