public function LoggerAwareInterface::setLogger in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Psr/Log/LoggerAwareInterface.php \Psr\Log\LoggerAwareInterface::setLogger()
Sets a logger instance on the object
Parameters
LoggerInterface $logger:
Return value
null
File
- lib/
Psr/ Log/ LoggerAwareInterface.php, line 16
Class
- LoggerAwareInterface
- Describes a logger-aware instance
Namespace
Psr\LogCode
public function setLogger(LoggerInterface $logger);