Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
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 524
1 REPLY 1

Willbin
Former Googler

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