def setUp(self):
        self.c = []
        log.addObserver(self.c.append)
Add a custom observer to observer logging.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_defer.py/LogTestCase.setUp