code: def log(**kwargs: Any) -> None:
      def _map(value: Any) -> str:
          if isinstance(value, int) and not isinstance(value, bool):
              return f"{value:03d}"
          if isinstance(value, float):
              return f"{value:.4f}"
          return value
  
      print(
          ", ".join(
              f"{key}: {_map(value)}" for key, value in kwargs.items()
          )
      )
  
      if _wandb_initialized:
          import wandb
  
          wandb.log(kwargs)
  
label_desc: Use image node_id 2 for calling a global function with example usage: log() and returns: value, value, value