code: def log(
      tf_summary_str_or_pb: Any, step: int = 0, namespace: str = ""
  ) -> None:
      if wandb.run is None:
          raise wandb.Error(
              "You must call `wandb.init()` before calling `wandb.tensorflow.log`"
          )
  
      with telemetry.context() as tel:
          tel.feature.tensorboard_log = True
  
      _log(tf_summary_str_or_pb, namespace=namespace, step=step)
  
file_path: wandb/wandb/integration/tensorboard/log.py
imports: import io
  import re
  import time
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
  import wandb
  import wandb.util
  from wandb.sdk.lib import telemetry
  from wandb.viz import custom_chart
label_desc: Use image node_id 7 for calling a global function with example usage: log(tf_summary_str_or_pb, step, namespace) without return types