def patch_function(self, function, name, logger=None):
        wrapper_log = logger if logger else self.logger
        wrapper = _Wrapper(self, function, name, wrapper_log)
        return wrapper.proxy
return wrapped version of function
dataset/ETHPy150Open ooici/pyon/pyon/util/monkey_timer.py/MonkeyTimer.patch_function