You are here

public function LoggerAwareInterface::setLogger in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.2 vendor/psr/log/Psr/Log/LoggerAwareInterface.php \Psr\Log\LoggerAwareInterface::setLogger()
  2. 8.3 vendor/psr/log/Psr/Log/LoggerAwareInterface.php \Psr\Log\LoggerAwareInterface::setLogger()

Sets a logger instance on the object.

Parameters

LoggerInterface $logger:

Return value

void

File

vendor/psr/log/Psr/Log/LoggerAwareInterface.php, line 17

Class

LoggerAwareInterface
Describes a logger-aware instance.

Namespace

Psr\Log

Code

public function setLogger(LoggerInterface $logger);