ACTION_LOG
Writes debug messages to Logcat (tag HabitatLog) for troubleshooting automation workflows without adding them to workflow run logs; supports ${var} interpolation.
Instructions
输出一条调试日志。只写 Logcat(tag HabitatLog),不进工作流运行日志;要让用户看到请用 ACTION_TOAST 或 ACTION_WORKSPACE。。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | 日志级别(默认 info) | |
| message | No | 日志内容,支持 ${var} | |
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |