setLogger() публичный Метод

Replace the existing logger.
public setLogger ( Psr\Log\LoggerInterface $logger )
$logger Psr\Log\LoggerInterface
 public function testSetLogConfigEnable1()
 {
     $client = new Client();
     $client->setLogger(new Log());
     $this->assertFalse($client->getConfig('log'));
 }