code: def __init__(
      self,
      loss_function: Optional[str] = "Loss",
      repo: Optional[str] = None,
      experiment: Optional[str] = None,
      system_tracking_interval: Optional[
          int
      ] = DEFAULT_SYSTEM_TRACKING_INT,
      log_system_params: Optional[bool] = True,
      capture_terminal_logs: Optional[bool] = True,
      log_cout=stdout,
  ):
      super().__init__()
      self._loss_function = loss_function
      self._repo_path = repo
      self._experiment = experiment
      self._system_tracking_interval = system_tracking_interval
      self._log_system_params = log_system_params
      self._capture_terminal_logs = capture_terminal_logs
      self._run = None
      self._run_hash = None
      self._log_cout = log_cout
  
      if log_cout is not None:
          assert hasattr(log_cout, "write")
  
file_path: aim/aim/sdk/adapters/catboost.py
imports: from sys import stdout
  from typing import Optional
  from aim import Run
  from aim.ext.resource import DEFAULT_SYSTEM_TRACKING_INT
label_desc: Use image node_id 1 to create a new AimLogger object  with example: obj = AimLogger(loss_function, repo, experiment, system_tracking_interval, log_system_params, capture_terminal_logs, log_cout)