public function Logger::log in Simple XML sitemap 4.x
Same name and namespace in other branches
- 8.3 src/Logger.php \Drupal\simple_sitemap\Logger::log()
- 8.2 src/Logger.php \Drupal\simple_sitemap\Logger::log()
Parameters
string $logSeverityLevel:
Return value
$this
File
- src/
Logger.php, line 85
Class
- Logger
- Class Logger
Namespace
Drupal\simple_sitemapCode
public function log(string $logSeverityLevel = self::LOG_SEVERITY_LEVEL_DEFAULT) : Logger {
$this->logger
->{$logSeverityLevel}(strtr($this->message, $this->substitutions));
return $this;
}