You are here

function error_log_severity_levels in Error Log 7

Provides untranslated watchdog severity levels.

2 calls to error_log_severity_levels()
error_log_default_levels in ./error_log.module
Provides default log level configuration.
error_log_watchdog in ./error_log.module
Implements hook_watchdog().

File

./error_log.module, line 57
Sends watchdog log entries to the PHP error log.

Code

function error_log_severity_levels() {
  return array(
    WATCHDOG_EMERGENCY => 'emergency',
    WATCHDOG_ALERT => 'alert',
    WATCHDOG_CRITICAL => 'critical',
    WATCHDOG_ERROR => 'error',
    WATCHDOG_WARNING => 'warning',
    WATCHDOG_NOTICE => 'notice',
    WATCHDOG_INFO => 'info',
    WATCHDOG_DEBUG => 'debug',
  );
}