mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-26 08:16:12 +01:00
TASK: Provide more helpful logging
This commit is contained in:
parent
56ce88b005
commit
ac78464c03
1 changed files with 4 additions and 1 deletions
|
@ -61,7 +61,10 @@ class DocumentFactory implements Singleton
|
||||||
$identifier = $document['search_identifier'];
|
$identifier = $document['search_identifier'];
|
||||||
unset($document['search_identifier']);
|
unset($document['search_identifier']);
|
||||||
|
|
||||||
$this->logger->debug('Convert document to document', [$identifier, $document]);
|
$this->logger->debug(
|
||||||
|
sprintf('Convert %s %u to document.', $documentType, $identifier),
|
||||||
|
[$identifier, $document]
|
||||||
|
);
|
||||||
return new \Elastica\Document($identifier, $document);
|
return new \Elastica\Document($identifier, $document);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue