以纯文本格式生成报表。
配置示例
{
"$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 将报表文件写入当前工作目录,这是从中启动开发代理的文件夹。
如果该名称的文件已存在,则 PlainTextReporter 不会覆盖它。 而是将时间戳 yyyyMMddHHmmss 的格式追加到文件名中,例如 ExecutionSummaryPlugin_PlainTextReporter_20261105103000.txt。
有关详细信息,请参阅 记录和导出代理活动。