public function LoggerAwareTrait::setLogger in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 vendor/psr/log/Psr/Log/LoggerAwareTrait.php \Psr\Log\LoggerAwareTrait::setLogger()
- 8.3 vendor/psr/log/Psr/Log/LoggerAwareTrait.php \Psr\Log\LoggerAwareTrait::setLogger()
Sets a logger.
Parameters
LoggerInterface $logger:
File
- vendor/
psr/ log/ Psr/ Log/ LoggerAwareTrait.php, line 22
Class
- LoggerAwareTrait
- Basic Implementation of LoggerAwareInterface.
Namespace
Psr\LogCode
public function setLogger(LoggerInterface $logger) {
$this->logger = $logger;
}