Package google.chat.logging.v1
ChatAppLogEntry
Gói dữ liệu JSON của thông báo lỗi. Nếu bạn bật Cloud Logging API, các thông báo lỗi này sẽ được ghi vào Google Cloud Logging.
Trường |
deployment |
string
Quá trình triển khai gây ra lỗi. Đối với các ứng dụng Chat được tạo trong Apps Script, đây là mã triển khai do Apps Script xác định.
|
error |
Status
Mã và thông báo lỗi.
|
deployment_function |
string
Tên callback_method chưa mã hoá đang chạy khi gặp lỗi.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-02-27 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-02-27 UTC."],[[["ChatAppLogEntry provides a JSON payload containing error messages for Chat apps."],["If enabled, these error messages are sent to Google Cloud Logging for analysis and debugging."],["The payload includes information about the deployment, error code and message, and the specific function where the error occurred."]]],["The `ChatAppLogEntry` message logs error details to Google Cloud Logging when enabled. It captures the `deployment` (e.g., deployment ID for Apps Script), the associated `error` (code and message), and the `deployment_function` (callback method name) where the error occurred. This structure allows for detailed tracking and analysis of errors within a Chat app.\n"]]