watchdog_severity_levels

Versions
6 – 7
watchdog_severity_levels()

@see watchdog

Return value

Array of the possible severity levels for log messages.

▾ 2 functions call watchdog_severity_levels()

dblog_event in modules/dblog/dblog.admin.inc
Menu callback; displays details about a log message.
dblog_filters in modules/dblog/dblog.admin.inc
List dblog administration filters that can be applied.

Code

includes/common.inc, line 3616

<?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'),
  );
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.