watchdog_severity_levels()
drupal/includes/common.inc, line 3755
Severity levels, as defined in RFC 3164: http://www.ietf.org/rfc/rfc3164.txt.
@see watchdog()
Array of the possible severity levels for log messages.
| Name | Description |
|---|---|
| Input validation | Functions to validate user input. |
function watchdog_severity_levels() {
return array(
WATCHDOG_EMERG => 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'),
);
}