human
I wrote the below code

    if (lvl not in (logging.DEBUG, logging.WARN, logging.ERROR, logging.CRITICAL, logging.FATAL)):
        raise ValueError(('%s    is    not    a    valid    logging    level' % (lvl,)))
    def deco_view(func):
        func.access_log_level = lvl
        return func
    return deco_view

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

def access_log_level(lvl):