def nameToLevel(name):
    try:
        return int(name)
    except __HOLE__:
        return logLevels.getIndex(name)
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/pymel/internal/plogging.py/nameToLevel