code: def set_color(log, color, highlight=True):
      color_set = [
          "black",
          "red",
          "green",
          "yellow",
          "blue",
          "pink",
          "cyan",
          "white",
      ]
      try:
          index = color_set.index(color)
      except:
          index = len(color_set) - 1
      prev_log = "\033["
      if highlight:
          prev_log += "1;3"
      else:
          prev_log += "0;3"
      prev_log += str(index) + "m"
      return prev_log + log + "\033[0m"
  
file_path: RecBole/recbole/utils/logger.py
imports: import logging
  import os
  import colorlog
  import re
  import hashlib
  from recbole.utils.utils import get_local_time, ensure_dir
  from colorama import init
label_desc: Use image node_id 1 for calling a global function with example usage: set_color(log, color, highlight) and returns: unknown