code: def get_loggers_from_work_dir(
      work_dir: str,
      task_names: List[str],
  ) -> List[Logger]:
      """Create loggers from work directory
  
      Parameters
      ----------
      work_dir : str
          The work directory.
      task_names : List[str]
          The list of task names.
  
      Returns
      -------
      loggers : List[Logger]
          The list of loggers.
      """
      log_dir = osp.join(work_dir, "logs")
      os.makedirs(log_dir, exist_ok=True)
      pattern = (
          __name__
          + ".task_{i:0"
          + f"{len(str(len(task_names) - 1))}"
          + "d}_{name}"
      )
      loggers = [
          pattern.format(i=i, name=name)
          for i, name in enumerate(task_names)
      ]
      create_loggers(
          log_dir=log_dir,
          params=[
              {"log_dir": log_dir, "logger_name": logger}
              for logger in loggers
          ],
      )
      return [get_logger(logger) for logger in loggers]
  
file_path: tvm/python/tvm/meta_schedule/logging.py
imports: import logging
  import logging.config
  import os
  import os.path
  from logging import Logger
  from typing import Any, Callable, Dict, List, Optional
label_desc: Use image node_id 6 for calling a global function with example usage: get_loggers_from_work_dir(work_dir, task_names) and returns: unknown