logging.getLevelName(10)
logging.getLevelName('DEBUG')
logging.addLevelName(15, 'DEBUGGISH')
logging.getLevelName(15)
logging.getLevelName('DEBUGGISH')
Python logging - determine level number from name