If you're using Cloud Run or Cloud Functions on GCP you have probably use Cloud Logging to see error message or other output from your applications. Ifwant to have more control over how your log messages are flagged in you Nodejs applications, try the npm package @google-cloud/logging.