code: def build_log_presenters(service_names, monochrome):
      
      prefix_width = max_name_width(service_names)
  
      def no_color(text):
          return text
  
      for color_func in cycle([no_color] if monochrome else colors.rainbow()):
          yield LogPresenter(prefix_width, color_func)
docs: Return an iterable of functions.
  
      Each function can be used to format the logs output of a container.