code: def setup_logger():
      if not debug_mode_enabled():
          warnings.filterwarnings("ignore")
  
      logging_level = int(os.environ.get("NEBULLVM_LOG_LEVEL", "2"))
  
      logger.remove()
      logger.add(
          sys.stdout,
          colorize=True,
          format=(
              "<green>{time:YYYY-MM-DD HH:mm:ss}</green> | "
              "<level>{level: <8}</level> | <level>{message}</level>"
          ),
          level=levels_map[logging_level],
      )
      logger.level("WARNING", color="<fg #d3d3d3>")
  
file_path: nebuly/optimization/nebullvm/nebullvm/tools/logger.py
imports: import logging
  import os
  import sys
  import warnings
  from typing import Any
  from loguru import logger
label_desc: Use image node_id 2 for calling a global function with example usage: setup_logger() without return types