Cloud Logging provides a suite of monitoring tools that help you understand what's going on in your Cloud Functions.
Writing and viewing logs
Cloud Logging captures and stores Cloud Functions logs.
Read more about writing and viewing logs from Cloud Functions.
Cloud Logging Error Reporting captures specially formatted error logs and displays them in the Error Reporting dashboard.
Read more about reporting errors from Cloud Functions.
Viewing monitored metrics
Cloud Logging Monitoring records metrics regarding the execution of Cloud Functions.
Read more about viewing recorded metrics for Cloud Functions.