Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to write logs from angular localhost to gcp cloud logging.

We have an angular application in which we have implemented open telemetry. 
Able to see the logs in console.
How to write these logs in gcp log explorer, we want to test this in localhost first before any deployment.

Angular 14

1 1 472
1 REPLY 1

Hello @sgeorge7,

Welcome to Google Cloud Community!

You can check these resources that might be helpful for your case.

  1. Write and query logs with gcloud CLI
  2. View logs by using the Logs Explorer

Thanks