(message)
return LogLevel('UKN')
Return level enum for log message.
   
    :param message: log message (string)
    :return: enum - 'LogLevel.<level>'.  Return 'LogLevel.Unknown' if an unknown severity is passed.
Return level enum for log message.
   
    :param message: log message (string)
    :return: enum - 'LogLevel.<level>'.  Return 'LogLevel.Unknown' if an unknown severity is passed.
Return level enum for log message . : param message : log message ( string ) : return : enum - LogLevel . <level > . Return LogLevel . Unknown if an unknown severity is passed .
def parse_log_level(message):
    """Return level enum for log message.
   
    :param message: log message (string)
    :return: enum - 'LogLevel.<level>'.  Return 'LogLevel.Unknown' if an unknown severity is passed.
    """

    str_split = message.split(':')
    lvl = str_split[0][1:-1]
    if lvl in [level.value for level in LogLevel]:
        return LogLevel(lvl)
    return LogLevel('UKN')
def parse_log_level ( message ) : str_split = message . split ( ':' ) lvl = str_split [ 0 ] [ 1 : - 1 ] if lvl in [ level . value for level in LogLevel ] : return LogLevel ( lvl ) return LogLevel ( 'UKN' )