def register_callback(self, event, callback):
        self.__callbacks[event].append(callback)
Register a callback for an internal event, usually used for logging.
dataset/ETHPy150Open Yelp/Testify/testify/test_case.py/TestCase.register_callback