Expose\Log\Mongo::__construct PHP Method

__construct() public method

Init the object and set the connection string if given
public __construct ( string $connectString = null )
$connectString string Mongo connection string
    public function __construct($connectString = null)
    {
        if ($connectString !== null) {
            $this->setConnectString($connectString);
        }
    }