You are here

public function WatchdogSyslog::getResultInfo in Site Audit 8.3

.

Overrides SiteAuditCheckBase::getResultInfo

1 call to WatchdogSyslog::getResultInfo()
WatchdogSyslog::getResultPass in src/Plugin/SiteAuditCheck/WatchdogSyslog.php
.

File

src/Plugin/SiteAuditCheck/WatchdogSyslog.php, line 30

Class

WatchdogSyslog
Provides the WatchdogSyslog Check.

Namespace

Drupal\site_audit\Plugin\SiteAuditCheck

Code

public function getResultInfo() {
  if ($this->registry->syslog_enabled) {
    return $this
      ->t('Syslog logging is enabled.');
  }
  return $this
    ->t('Syslog logging is not enabled.');
}