UiPath Documentation
activities
latest
false
工作流活动
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

添加日志字段

“添加日志字段”活动会将自定义日志字段添加到“Robot 执行日志”。

UiPath.Core.Activities.AddLogFields

描述​

Adds custom log fields to the Robot Execution Logs. The fields are added to every later Log Message in the workflow that adds them and in the workflows it invokes, until a Remove Log Fields activity removes them or that workflow ends. Adding a field that already exists replaces its value.

备注:

When a workflow called with Invoke Workflow File ends, the log fields go back to what they were in the calling workflow. A field the invoked workflow added is removed, and a field it changed gets its earlier value back. To add a field to every log message of a job, add it in the main workflow.

项目兼容性​

Windows - 旧版 | Windows | 跨平台

Windows、跨平台配置​

  • “字段”- 此为字符串参数集合,用于添加到每个后续日志行。

Windows - 旧版配置​

属性面板​

常见​
  • “显示名称”- 活动的显示名称。
输入​
  • “字段”- 此为字符串参数集合,用于添加到每个后续日志行。
其他​
  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。
    备注:

    有关日志字段的列表,请参阅机器人文档。

  • 描述​
  • 项目兼容性​
  • Windows、跨平台配置​
  • Windows - 旧版配置​
  • 属性面板​

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新