docstr: Generates dir structure for logging errors and outputs
  :return:
docstr_tok: ["Generates","dir","structure","for","logging","errors","and","outputs",":","return",":"]
code: def __layout_logging_dir(self):
      """
      Generates dir structure for logging errors and outputs
      :return:
      """
  
      # format the logging folder path
      slurm_out_path = os.path.join(self.log_path, self.job_name)
  
      self.log_path = slurm_out_path
  
      # if we have a test tube name, make the folder and set as the logging destination
      if not os.path.exists(slurm_out_path):
          os.makedirs(slurm_out_path)
  
      # when err logging is enabled, build add the err logging folder
      if self.enable_log_err:
          err_path = os.path.join(slurm_out_path, "slurm_err_logs")
          if not os.path.exists(err_path):
              os.makedirs(err_path)
          self.err_log_path = err_path
  
      # when out logging is enabled, build add the out logging folder
      if self.enable_log_out:
          out_path = os.path.join(slurm_out_path, "slurm_out_logs")
          if not os.path.exists(out_path):
              os.makedirs(out_path)
          self.out_log_path = out_path
  
      # place where slurm files log to
      self.slurm_files_log_path = os.path.join(
          slurm_out_path, "slurm_scripts"
      )
      if not os.path.exists(self.slurm_files_log_path):
          os.makedirs(self.slurm_files_log_path)
  
imports: import datetime
  import os
  import signal
  import sys
  import time
  import traceback
  from subprocess import call
  from .argparse_hopt import HyperOptArgumentParser
label_desc: Use image node_id 13 for calling the SlurmCluster obj's underlying member method code with example usage: obj.__layout_logging_dir() without return types