

def setupLogging(level=0, logfile=None):
    ctx = lacore.log.setupLogging(level, logfile)
    getLogger().addHandler(getLogger('lacore').handlers[0])
    getLogger().propagate = True
    getLogger().disabled = False
    return ctx

dataset/ETHPy150Open longaccess/longaccess-client/lacli/log.py setupLogging/original