public function WatchdogPhp::watchdog_severity_levels in Site Audit 8.3
Watchdog severity levels.
See also
drush_watchdog_severity_levels()
1 call to WatchdogPhp::watchdog_severity_levels()
- WatchdogPhp::calculateScore in src/
Plugin/ SiteAuditCheck/ WatchdogPhp.php - .
File
- src/
Plugin/ SiteAuditCheck/ WatchdogPhp.php, line 100
Class
- WatchdogPhp
- Provides the WatchdogPhp Check.
Namespace
Drupal\site_audit\Plugin\SiteAuditCheckCode
public function watchdog_severity_levels() {
return [
RfcLogLevel::EMERGENCY => 'emergency',
RfcLogLevel::ALERT => 'alert',
RfcLogLevel::CRITICAL => 'critical',
RfcLogLevel::ERROR => 'error',
RfcLogLevel::WARNING => 'warning',
RfcLogLevel::NOTICE => 'notice',
RfcLogLevel::INFO => 'info',
RfcLogLevel::DEBUG => 'debug',
];
}