def logging_name_to_int(name: str) ->int:
    """Transform logging name to numerical level for tomo client"""
    if name == 'error':
        return 2
    elif name == 'info':
        return 3
    elif name == 'debug':
        return 4
    else:
        return 5
