文档

​
​

Development

User Acquisition

Monetization

工业

Triggers

Open Unity Dashboard

Triggers

LiveOps
​
​
Get started
  • Overview
  • Get started
  • Set up triggers example workflow
  • Authentication
Set up events
  • Understand and manage events
    • Events
    • Supported UGS events
    • Debug and monitor events
  • Schedule events
Define triggers
  • Define triggers
Configure actions
  • Use Cloud Code
  • Use webhooks
Manage and monitor
  • Use the dead letter queue (DLQ)
  • Limits
  • Failure handling
Examples and reference
  • Use case samples
  1. Triggers
  2. Understand and manage events

调试和监控事件

Use the Logging service to debug and monitor events in your Triggers.
阅读时间1 分钟
最后更新于 5 个月前

您可以使用 Logging 服务来调试和监控事件。
您无需对 Cloud Code 进行任何额外检测,因为一切都是可以立即使用的。向 Cloud Code 模块和脚本添加日志记录可以调试和监控触发器的执行情况。
默认情况下,Triggers 服务会发出以下日志:

日志

条件

triggering action for event
触发器激活时发出。
successful response from trigger action
成功执行触发器时发出。
error response from trigger action
触发器执行失败时发出。
error in event filter
过滤器中没有定义有效负载属性时发出。
如需了解更多信息和使用示例,请参阅 Logging。

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。


    报告此页面的问题