Gets the appropriate piece of chalk for the logging level

def get_chalk(level):
    """Gets the appropriate piece of chalk for the logging level
    """
    if level >= logging.ERROR:
        _chalk = chalk.red
    elif level >= logging.WARNING:
        _chalk = chalk.yellow
    elif level >= logging.INFO:
        _chalk = chalk.blue
    elif level >= logging.DEBUG:
        _chalk = chalk.green
    else:
        _chalk = chalk.white
    return _chalk