class_docstr: Generic class used to write log files.
class_docstr_tok: ["Generic","class","used","to","write","log","files","."]
docstr: Initialization method.
  
  Note:
      The log file file be placed in directory named `runtime_host` within the `Environment.main_directory`.
  
  Args:
      runtime_host: The host of the `Runtime`, where the execution takes place.
      taskname: The name of the `RuntimeTask` to be executed.
docstr_tok: ["Initialization","method",".","Note",":","The","log","file","file","be","placed","in","directory","named","`","runtime_host","`","within","the","`","Environment.main_directory","`",".","Args",":","runtime_host",":","The","host","of","the","`","Runtime","`",",","where","the","execution","takes","place",".","taskname",":","The","name","of","the","`","RuntimeTask","`","to","be","executed","."]
code: def __init__(self, runtime_host: str, taskname: str) -> None:
      """Initialization method.
  
      Note:
          The log file file be placed in directory named `runtime_host` within the `Environment.main_directory`.
  
      Args:
          runtime_host: The host of the `Runtime`, where the execution takes place.
          taskname: The name of the `RuntimeTask` to be executed.
      """
      self.runtime_host = runtime_host
      self.taskname = taskname
      self.file_extension = "log"
      self.log = logging.getLogger(__name__)
      self._main_dir = os.path.join(
          Environment.main_directory, "execution_log"
      )
      self._creation_timestamp = Timestamp()
  
file_path: lazycluster/src/lazycluster/utils.py
imports: import logging
  import os
  import time
label_desc: Use image node_id 1 to create a new ExecutionFileLogUtil object from inherited base classes: object with example: obj = ExecutionFileLogUtil(runtime_host, taskname)