def enable_thread_logging(exception_callback=None):
    global logged_thread_enabled, Thread
    LoggedThread.exception_callback = exception_callback
    Thread = threading.Thread = LoggedThread
    logged_thread_enabled = True
Create a sequence
dataset/ETHPy150Open lobocv/pyperform/pyperform/thread.py/enable_thread_logging--crossover with--dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_sequence.py/SequenceToSqlTestCase.test_create_sequence