class_docstr: Logger configuration class.
  
  Logger configuration consists of:
    - pipeline_name: name of active pipeline
    - worker_name: name of component/object doing the logging
    - log_root: path for log directory
    - log_level: logger's level, default to INFO.
code: def __init__(
      self,
      log_root: Optional[str] = "/var/tmp/tfx/logs",
      log_level: Optional[int] = logging.INFO,
      pipeline_name: Optional[str] = "",
      worker_name: Optional[str] = "",
  ):
      self.log_root = log_root
      self.log_level = log_level
      self.pipeline_name = pipeline_name
      self.worker_name = worker_name
  
file_path: tfx/tfx/utils/logging_utils.py
imports: import copy
  import logging
  import os
  from typing import Any, Dict, Optional
  from tfx.dsl.io import fileio
label_desc: Use image node_id 1 to create a new LoggerConfig object  with example: obj = LoggerConfig(log_root, log_level, pipeline_name, worker_name)