def config_logging(debug):
if debug:<EOL><INDENT>logging.basicConfig(level=logging.DEBUG, format='<STR_LIT>')<EOL>logging.debug("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>logging.basicConfig(level=logging.INFO, format='<STR_LIT>')<EOL><DEDENT>
Config logging level output output