human
I wrote the below code

    class StdoutFilter(logging.Filter, ):
        def filter(self, record):
            return (record.levelno in (logging.DEBUG, logging.INFO))
    log.handlers = []
    stdout_handler = logging.StreamHandler(sys.stdout)
    stdout_handler.setLevel(logging.WARNING)
    stdout_handler.addFilter(StdoutFilter())
    if conf.debug:
        stdout_handler.setLevel(logging.DEBUG)
    elif conf.verbose:
        stdout_handler.setLevel(logging.INFO)
    else:
        stdout_handler.setLevel(logging.WARNING)
    log.addHandler(stdout_handler)
    stderr_handler = logging.StreamHandler(sys.stderr)
    stderr_handler.setLevel(logging.WARNING)
    log.addHandler(stderr_handler)

What's a good function header?

Here's a good function header?
assistant
#Here's a good function header.

def setup_stream_handlers(conf):