def log_config(verbose=<NUM_LIT:1>):
<EOL>if verbose == <NUM_LIT:0>:<EOL><INDENT>level = logging.WARNING<EOL>fmt = "<STR_LIT>"<EOL><DEDENT>elif verbose == <NUM_LIT:1>:<EOL><INDENT>level = logging.INFO<EOL>fmt = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>level = logging.DEBUG<EOL>fmt = "<STR_LIT>"<EOL><DEDENT>logging.basicConfig(format=fmt, level=level)<EOL>
Set up logging the way I like it.