constructor must contain credentials in the case that the collection
supplied to MongoLogger was the exception that was thrown