opencensus-go-exporter-stackdriver icon indicating copy to clipboard operation
opencensus-go-exporter-stackdriver copied to clipboard

Use Zap library for logging to support JSON

Open nilebox opened this issue 5 years ago • 0 comments

Is your feature request related to a problem? Please describe. Currently log messages are written using the standard log package which prints messages in plain text, and doesn't support any customization, and is a problem when used in OpenTelemetry Collector.

Describe the solution you'd like Migrate to https://github.com/uber-go/zap for logging, and support passing a logger in the configuration / constructor.

nilebox avatar Aug 04 '20 07:08 nilebox