def string_to_level(log_level):
if (log_level.strip().upper() == "<STR_LIT>"):<EOL><INDENT>return logging.DEBUG<EOL><DEDENT>if (log_level.strip().upper() == "<STR_LIT>"):<EOL><INDENT>return logging.INFO<EOL><DEDENT>if (log_level.strip().upper() == "<STR_LIT>"):<EOL><INDENT>return logging.WARNING<EOL><DEDENT>if (log_level.strip().upper() == "<STR_LIT>"):<EOL><INDENT>return logging.ERROR<EOL><DEDENT>
Converts a string to the corresponding log level