def METHOD_NAME(self, message, progress):
    """
    Prints/updates a line. The message will be left aligned, and the progress message will be right aligned.
    Typically, the message is static and progress changes over time (it could show a progress indication as
     percentage).
    :param message: A message to display (will be left-aligned)
    :param progress: A progress indication (will be right-aligned)
    """
    if QUIET or (not RALLY_RUNNING_IN_DOCKER and not ASSUME_TTY and not sys.stdout.isatty()):
        return
    w = self._width
    if self._first_print:
        self._printer(" " * w, end="")
        self._first_print = False
    final_message = self._truncate(message, self._width - len(progress))
    formatted_progress = progress.rjust(w - len(final_message))
    if self._plain_output:
        self._printer(f"\n{final_message}{formatted_progress}", end="")
    else:
        self._printer(f"\033[{w}D{final_message}{formatted_progress}", end="")
    sys.stdout.flush()