class_docstr: A callable that will print text in a different color depending on the instance.
  
  Up to 6 if standard output is a terminal or a Jupyter notebook cell.
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def _color_wrap(self, index, s):
      """Placeholder docstring"""
      print(
          "\x1b[{}m{}\x1b[0m".format(
              self._stream_colors[index % len(self._stream_colors)], s
          )
      )
  
file_path: sagemaker-python-sdk/src/sagemaker/logs.py
imports: from __future__ import absolute_import
  import collections
  import functools
  import os
  import sys
label_desc: Use image node_id 3 for calling the ColorWrap obj's underlying member method code with example usage: obj._color_wrap(index, s) without return types