Package google.chat.logging.v1
ChatAppLogEntry
بار JSON از پیام های خطا. اگر Cloud Logging API فعال باشد، این پیامهای خطا در Google Cloud Logging ثبت میشوند.
فیلدها |
---|
deployment | string استقرار که باعث خطا شد. برای برنامههای چت ساخته شده در Apps Script، این شناسه استقرار تعریف شده توسط Apps Script است. |
error | Status کد خطا و پیام |
deployment_function | string نام callback_method رمزگذاری نشده ای که در هنگام بروز خطا در حال اجرا بود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-02-27 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-02-27 بهوقت ساعت هماهنگ جهانی."],[[["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"]]