Feature request: Option to setLogger for metrics as it is done with tracer #3099
Closed
2 tasks done
Labels
duplicate
This issue is a duplicate of an existing one
feature-request
This item refers to a feature request for an existing or new utility
metrics
This item relates to the Metrics Utility
Use case
Currently,
tracer.provider.setLogger(logger)
allows the customization of the logger. However, in the Metrics class there is not an option to do the same.Solution/User Experience
Instead of only using
this.setConsole()
here as a private method, it is possible to update theMetricsOptions
and receive a logger there.Alternative solutions
Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered: