You are here

function error_log_default_levels in Error Log 7

Provides default log level configuration.

2 calls to error_log_default_levels()
error_log_settings_form in ./error_log.admin.inc
Adds Error Log settings form to form.
error_log_watchdog in ./error_log.module
Implements hook_watchdog().

File

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

Code

function error_log_default_levels() {
  foreach (error_log_severity_levels() as $key => $value) {
    $levels["level_{$key}"] = "level_{$key}";
  }
  return $levels;
}