def _patchTextFileLogObserver(patch):
    logFiles = []
    oldFileLogObserver = logger.textFileLogObserver

    def observer(logFile, *args, **kwargs):
        logFiles.append(logFile)
        return oldFileLogObserver(logFile, *args, **kwargs)

    patch(logger, 'textFileLogObserver', observer)
    return logFiles
Saves the Dictionary to a Pickle
dataset/ETHPy150Open twisted/twisted/twisted/test/test_twistd.py/_patchTextFileLogObserver--crossover with--dataset/ETHPy150Open dandxy89/rf_helicopter/Model/Q_Learning_Agent.py/Q_Learning_Algorithm.save_model