code: def render(
      self,
      *,
      record: logging.LogRecord,
      traceback: Optional[Traceback],
      message_renderable: ConsoleRenderable,
  ) -> ConsoleRenderable:
      path = record.name  # the key difference from RichHandler
      level = self.get_level_text(record)
      time_format = (
          None if self.formatter is None else self.formatter.datefmt
      )
      log_time = datetime.fromtimestamp(record.created)
  
      log_renderable = self._log_render(
          self.console,
          [message_renderable]
          if not traceback
          else [message_renderable, traceback],
          log_time=log_time,
          time_format=time_format,
          level=level,
          path=path,
          line_no=record.lineno,
          link_path=record.pathname if self.enable_link_path else None,
      )
      return log_renderable
  
file_path: dstack/src/dstack/_internal/cli/utils/common.py
imports: import logging
  import os
  from datetime import datetime
  from typing import Optional
  from rich.console import Console, ConsoleRenderable
  from rich.logging import RichHandler
  from rich.prompt import Confirm
  from rich.theme import Theme
  from rich.traceback import Traceback
  from dstack._internal.core.errors import CLIError, DstackError
label_desc: Use image node_id 1 for calling the DstackRichHandler obj's underlying member method code with example usage: obj.render() and returns: log_renderable