    # File lib/yard/logging.rb, line 82
        def progress(msg, nontty_log = :debug)
          send(nontty_log, msg) if nontty_log
          return unless show_progress
          icon = ""
          if defined?(::Encoding)
            icon = PROGRESS_INDICATORS[@progress_indicator] + " "
          end
          self << "\e[2K\e[?25l\e[1m#{icon}#{msg}\e[0m\r"
          @mutex.synchronize do
            @progress_msg = msg
            @progress_indicator += 1
            @progress_indicator %= PROGRESS_INDICATORS.size
          end
          Thread.new do
            sleep(0.05)
            @mutex.synchronize do
              progress(msg + ".", nil) if @progress_msg == msg
            end
          end
        end