src/Manager.php
protected function getLogCollection($environment)
    {
        if ($this->logCollection) {
            return $this->logCollection;
        }
        
        $databaseName = $this->config->getLogDatabaseName($environment);
        $collectionName = $this->config->getLogCollectionName($environment);
        
        $this->logCollection = $this
            ->getClient($environment)
            ->getDatabase($databaseName)
            ->getCollection($collectionName);
        
        return $this->logCollection;
    }
protected function getLogCollection($environment)
    {
        if ($this->logCollection) {
            return $this->logCollection;
        }
        
        $databaseName = $this->config->getLogDatabaseName($environment);
        $collectionName = $this->config->getLogCollectionName($environment);
        
        $this->logCollection = $this
            ->getClient($environment)
            ->getDatabase($databaseName)
            ->getCollection($collectionName);
        
        return $this->logCollection;
    }
@param string $environment

@return Collection

@throws \Sokil\Mongo\Exception