You are here

public function Logger::log in Simple XML sitemap 8.3

Same name and namespace in other branches
  1. 8.2 src/Logger.php \Drupal\simple_sitemap\Logger::log()
  2. 4.x src/Logger.php \Drupal\simple_sitemap\Logger::log()

Parameters

string $logSeverityLevel:

Return value

$this

File

src/Logger.php, line 84

Class

Logger
Class Logger @package Drupal\simple_sitemap

Namespace

Drupal\simple_sitemap

Code

public function log($logSeverityLevel = self::LOG_SEVERITY_LEVEL_DEFAULT) {
  $this->logger
    ->{$logSeverityLevel}(strtr($this->message, $this->substitutions));
  return $this;
}