Closed as not planned
Closed as not planned
Description
Use case
As far as I can tell, calling new Logger()
instantiates a new logger, which means we can't access previously appended keys across the code.
Solution/User Experience
It would be great if a new instance that uses the same service name - env var or explicit parameter - would reuse a previous Logger instance, as it's the case for the Python Powertools
Alternative solutions
No response
Acknowledgment
- This feature request meets Lambda Powertools Tenets
- Should this be considered in other Lambda Powertools languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.