You are here

public function SiteAuditCheckWatchdogSyslog::getResultInfo in Site Audit 8.2

Same name and namespace in other branches
  1. 7 Check/Watchdog/Syslog.php \SiteAuditCheckWatchdogSyslog::getResultInfo()

Implements \SiteAudit\Check\Abstract\getResultInfo().

Overrides SiteAuditCheckAbstract::getResultInfo

1 call to SiteAuditCheckWatchdogSyslog::getResultInfo()
SiteAuditCheckWatchdogSyslog::getResultPass in Check/Watchdog/Syslog.php
Implements \SiteAudit\Check\Abstract\getResultPass().

File

Check/Watchdog/Syslog.php, line 36
Contains \SiteAudit\Check\Watchdog\Syslog.

Class

SiteAuditCheckWatchdogSyslog
Class SiteAuditCheckWatchdogSyslog.

Code

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