PlainTextReporter

以純文字格式產生報表。

設定範例

{
  "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v4.0.0/rc.schema.json",
  "plugins": [
    {
      "name": "PlainTextReporter",
      "enabled": true,
      "pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll"
    }
  ]
}

組態屬性

None

備註

當你停止錄影時,PlainTextReporter 會為每個報告外掛產生的報告寫一個檔案。 檔案名稱為 <ReportingPlugin>_PlainTextReporter.txt,例如 ExecutionSummaryPlugin_PlainTextReporter.txt。

PlainTextReporter 會將報告檔案寫入目前的工作目錄,也就是你啟動 Dev Proxy 的資料夾。

如果已有該名稱的檔案存在,PlainTextReporter 不會覆蓋該檔案。 相反地,它會在檔名後加上格式中的時間戳 yyyyMMddHHmmss 記,例如 ExecutionSummaryPlugin_PlainTextReporter_20261105103000.txt。

欲了解更多資訊,請參閱 「記錄與匯出代理活動」。