code: def __init__(self, log_dir=".logs/"):
      self.writer = SummaryWriter(log_dir=log_dir, flush_secs=30)
  
imports: from torch.utils.tensorboard import SummaryWriter
  from tez.callbacks import Callback
label_desc: Use image node_id 1 to create a new TensorBoardLogger object from inherited base classes: Callback with example: obj = TensorBoardLogger(log_dir)