googleapis / nodejs-logging-bunyan

Node.js client integration between Stackdriver Logging and Bunyan.
https://cloud.google.com/logging/
Apache License 2.0
63 stars 34 forks source link

feat: Logging provider for Cloud Functions that outputs structured logs to process.stdout #605

Closed losalex closed 2 years ago

losalex commented 2 years ago

There are problems reported by users about inability to flush logging data in serverless environments like Cloud Functions reported in 603. The idea is to add support to print structured logging to STDOUT, so the logging output would be picked up by Cloud Logging Agent in Google Cloud managed environment.

Fixes #536 🦕