@classmethod
    def to(cls, db, collection, host='localhost', port=None, level=logging.NOTSET):
        return cls(Connection(host, port)[db][collection], level)
Create a handler for a given
dataset/ETHPy150Open andreisavu/mongodb-log/mongolog/handlers.py/MongoHandler.to