def prefix(input_string, component):
    return "%s: %s" % (LOG_COMPONENTS[component]['color'](component), input_string)
Returns a colored string with the right colored prefix with a given component
dataset/ETHPy150Open Yelp/paasta/paasta_tools/cli/cmds/logs.py/prefix