  document.getElementById("logs-panel").style.visibility !== "hidden"
      ) {
        return;
      }
      const $logsBtn = document.getElementById("logsBtn");
      $logsBtn.classList.add("unread");
      $logsBtn.dataset.title = i18n({
        "en": `${newLogsList.length} new logs`,
        "zh-cn": `新增${newLogsList.length}条日志`,
      });
      // 如果新增日志行数小于等于3，则message显示新增日志，否则显示最后2行并提示剩余行数
      if (newLogsList.length <= 