Maintenance: remove createTracer
& createLogger
helpers
#1721
Labels
Milestone
createTracer
& createLogger
helpers
#1721
Summary
As part of this issue we will remove the two helper functions found in Tracer and Logger. These two helpers allow to create a new instance of their respective Powertools utilities, i.e.
createTracer()
returns an instance ofTracer
.The existence of these functions was undocumented and never mentioned anywhere outside the tests, however if there are customers who are using these helpers can simply switch to instantiating the utilities directly:
Why is this needed?
We have decided to remove these helpers because over the past two years we haven't seen any usage. Likewise, while the helpers are available only for Logger and Tracer, we haven't seen demand for adding them to other utilities.
Removing these helpers will also decrease the code shipped.
Which area does this relate to?
Tracer, Logger
Solution
No response
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: