update to PSR3 LoggerInterface per change in ruflin/elastica
This commit is contained in:
parent
43d1531cd4
commit
f374dbbaa2
2 changed files with 77 additions and 3 deletions
|
|
@ -7,6 +7,8 @@ use Elastica\Request;
|
|||
|
||||
use FOS\ElasticaBundle\Logger\ElasticaLogger;
|
||||
|
||||
use PSR\Log\LoggerInterface;
|
||||
|
||||
/**
|
||||
* @author Gordon Franke <info@nevalon.de>
|
||||
*/
|
||||
|
|
@ -17,7 +19,7 @@ class Client extends ElasticaClient
|
|||
*/
|
||||
protected $logger;
|
||||
|
||||
public function setLogger(ElasticaLogger $logger)
|
||||
public function setLogger(LoggerInterface $logger)
|
||||
{
|
||||
$this->logger = $logger;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue