def logEvent(self, *events):
        pl = self.py_logger()
        observer = STDLibLogObserver(
            # Add 1 to default stack depth to skip *this* frame, since
            # tests will want to know about their own frames.
            stackDepth=STDLibLogObserver.defaultStackDepth + 1
        )
        for event in events:
            observer(event)
        return pl.bufferedHandler.records, pl.outputAsText()
Reimplemented to return the editor for a given index.
dataset/ETHPy150Open twisted/twisted/twisted/logger/test/test_stdlib.py/STDLibLogObserverTests.logEvent--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/table_editor.py/TableDelegate.createEditor