src/Persister/ObjectPersister.php
private function log(BulkException $e)
    {
        if (!$this->logger) {
            throw $e;
        }

        $this->logger->error($e);
    }
private function log(BulkException $e)
    {
        if (!$this->logger) {
            throw $e;
        }

        $this->logger->error($e);
    }
Log exception if logger defined for persister belonging to the current listener, otherwise re-throw.

@param BulkException $e

@throws BulkException