You are here

public function Logger::setRequestStack in Monolog 2.x

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

Sets the request stack.

Parameters

\Symfony\Component\HttpFoundation\RequestStack|null $requestStack: The current request object.

Overrides LoggerChannelInterface::setRequestStack

File

src/Logger/Logger.php, line 52

Class

Logger
Logger class for the Drupal Monolog module.

Namespace

Drupal\monolog\Logger

Code

public function setRequestStack(RequestStack $requestStack = NULL) {

  // Do nothing, use a handler for this.
}