You are here

public function Logger::__construct in Simple XML sitemap 8.2

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

Logger constructor.

Parameters

$logger:

$current_user:

File

src/Logger.php, line 53

Class

Logger
Class Logger @package Drupal\simple_sitemap

Namespace

Drupal\simple_sitemap

Code

public function __construct(LoggerInterface $logger, AccountProxyInterface $current_user) {
  $this->logger = $logger;
  $this->currentUser = $current_user;
}