class_docstr: Mixin to add a disk logging handler to a repository. It has a cache_folder.
class_docstr_tok: ["Mixin","to","add","a","disk","logging","handler","to","a","repository",".","It","has","a","cache_folder","."]
code: def _create_scoped_logger_path(self, scope: ScopedLocation) -> str:
      scoped_path: str = self.get_folder_at_scope(scope)
      logging_file = os.path.join(scoped_path, "log.txt")
      os.makedirs(os.path.dirname(logging_file), exist_ok=True)
      return logging_file
  
imports: import json
  import os
  import shutil
  from copy import deepcopy
  from typing import List, Optional
  from neuraxle.logging.logging import NeuraxleLogger
  from neuraxle.metaopt.data.vanilla import BaseDataclass, DataclassHasListMixin, RootDataclass, ScopedLocation, SubDataclassT, dataclass_2_id_attr, from_json, to_json
  from neuraxle.metaopt.repositories.repo import HyperparamsRepository
label_desc: Use image node_id 5 for calling the _OnDiskRepositoryLoggerHandlerMixin obj's underlying member method code with example usage: obj._create_scoped_logger_path(scope) and returns: logging_file