watchdog_severity_levels

Definition

watchdog_severity_levels()
includes/common.inc, line 3467

Description

@see watchdog

Return value

Array of the possible severity levels for log messages.

Code

<?php
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'),
  );
}
?>
 
 

Drupal is a registered trademark of Dries Buytaert.