You are here

public function CurrentUserProcessor::__construct in Monolog 2.x

Same name and namespace in other branches
  1. 8 src/Logger/Processor/CurrentUserProcessor.php \Drupal\monolog\Logger\Processor\CurrentUserProcessor::__construct()

Constructs a Default object.

Parameters

\Drupal\Core\Session\AccountProxyInterface $account_proxy: The AccountProxyInterface definition.

File

src/Logger/Processor/CurrentUserProcessor.php, line 25

Class

CurrentUserProcessor
Class UidProcessor.

Namespace

Drupal\monolog\Logger\Processor

Code

public function __construct(AccountProxyInterface $account_proxy) {
  $this->accountProxy = $account_proxy;
}