code: def __init__(self, save_dir):
      self.save_dir = save_dir
      os.makedirs(self.save_dir, exist_ok=True)
  
imports: import os
  from abc import ABC, abstractmethod
label_desc: Use image node_id 1 to create a new BaseLogger object from inherited base classes: ABC with example: obj = BaseLogger(save_dir)