[Cloud Run functions](https://docs.cloud.google.com/functions/docs.md.txt) lets you monitor and diagnose runtime
errors by automatically writing unhandled exceptions to Cloud Logging.
Error Reporting evaluates these logged stack traces without requiring
a client library, and Cloud Run functions automatically grants default
credentials if you use a client library.

> [!NOTE]
> **Note:** Error Reporting automatically creates an error event when a log entry contains a stack trace and the severity level of the log entry isn't set or is set to at least `ERROR`.