You are here

public function LoggerAwareInterface::setLogger in Service Container 7.2

Same name and namespace in other branches
  1. 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\Log

Code

public function setLogger(LoggerInterface $logger);