watchdog_severity_levels

Versions
mediamosa-21
watchdog_severity_levels()

Severity levels, as defined in RFC 3164: http://www.ietf.org/rfc/rfc3164.txt.

See also

watchdog()

Return value

Array of the possible severity levels for log messages.

▾ 3 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.
_mediamosa_maintenance_browse_log in sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse_log.inc
Show a selection of the watchdog in our own log viewer.

Code

includes/common.inc, line 6009

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