What are some good strategies to do this? Ideally we want to be able to turn logging for components on/off at run-time (during development).
Then you can determine what to ship out to a logging tool like logstash/logdna based on the environment.
Edit: Something like this https://www.scalyr.com/blog/getting-started-angular-logging/
On our platforms page we have a subscription to get notified once a new platform is supported: https://bugfender.com/platforms/
Standard recommendation like mister_hn said is Elastic stack, Logstash and Kibana or Grafana.
In a course, I also saw recommended Zipkin and Jaeger.